You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## What is Feast?
4
4
5
-
Feast \(**Fea**ture **St**ore\) is an operational data system for managing and serving machine learning features to models in production. It can serve features from a low-latency online store \(for real-time prediction\) or from an off-line store \(for scale-out batch scoring or training models\).
5
+
Feast \(**Fea**ture **St**ore\) is an operational data system for managing and serving machine learning features to models in production. Feast is able to serve feature data to models from a low-latency online store \(for real-time prediction\) or from an offline store \(for scale-out batch scoring or model training\).
Copy file name to clipboardExpand all lines: docs/feast-on-kubernetes-1/advanced-1/security.md
+2-48Lines changed: 2 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ This page applies to Feast 0.7. The content may be out of date for Feast 0.8+
10
10
11
11
## Overview
12
12
13
-

13
+

14
14
15
15
Feast supports the following security methods:
16
16
@@ -243,54 +243,8 @@ OAuth Provider makes an OAuth [client credentials](https://auth0.com/docs/flows/
243
243
</thead>
244
244
<tbody></tbody>
245
245
</table>
246
-
{% endtab %}
247
-
{% endtabs %}
248
-
249
-
### **Enabling Authentication in Go SDK**
250
-
251
-
Configure the [Feast Java SDK](https://javadoc.io/doc/dev.feast/feast-sdk/latest/com/gojek/feast/package-summary.html) to use authentication by specifying the credential via `SecurityConfig`:
// Specify the credential to provide tokens for Feast Authentication.
259
-
Credential: cred,
260
-
})
261
-
```
262
-
263
-
{% tabs %}
264
-
{% tab title="Google Credential" %}
265
-
Google Credential uses Service Account credentials JSON file set via`GOOGLE_APPLICATION_CREDENTIALS` environmental variable \([Google Cloud Authentication documentation](https://cloud.google.com/docs/authentication/getting-started)\) to obtain tokens for Authenticating Feast requests:
> Target audience of the credential should be set to host URL of target Service. \(ie `https://localhost` if Service listens on `localhost`\):
280
-
{% endtab %}
281
-
282
-
{% tab title="OAuth Credential" %}
283
-
OAuth Credential makes an OAuth [client credentials](https://auth0.com/docs/flows/call-your-api-using-the-client-credentials-flow) request to obtain the credential/token used to authenticate Feast requests:
{% endtab %} {% endtabs %} \#\#\# \*\*Enabling Authentication in Go SDK\*\* Configure the \[Feast Java SDK\]\(https://javadoc.io/doc/dev.feast/feast-sdk/latest/com/gojek/feast/package-summary.html\) to use authentication by specifying the credential via \`SecurityConfig\`: \`\`\`go // error handling omitted. // Use Google Credential as provider. cred, \_ := feast.NewGoogleCredential\("localhost:6566"\) cli, \_ := feast.NewSecureGrpcClient\("localhost", 6566, feast.SecurityConfig{ // Specify the credential to provide tokens for Feast Authentication. Credential: cred, }\) \`\`\` {% tabs %} {% tab title="Google Credential" %} Google Credential uses Service Account credentials JSON file set via\`GOOGLE\_APPLICATION\_CREDENTIALS\` environmental variable \\(\[Google Cloud Authentication documentation\]\(https://cloud.google.com/docs/authentication/getting-started\)\\) to obtain tokens for Authenticating Feast requests: \* Exporting \`GOOGLE\_APPLICATION\_CREDENTIALS\` \`\`\`bash $ export GOOGLE\_APPLICATION\_CREDENTIALS="path/to/key.json" \`\`\` \* Create a Google Credential with target audience. \`\`\`go cred, \_ := feast.NewGoogleCredential\("localhost:6566"\) \`\`\` > Target audience of the credential should be set to host URL of target Service. \\(ie \`https://localhost\` if Service listens on \`localhost\`\\): {% endtab %} {% tab title="OAuth Credential" %} OAuth Credential makes an OAuth \[client credentials\]\(https://auth0.com/docs/flows/call-your-api-using-the-client-credentials-flow\) request to obtain the credential/token used to authenticate Feast requests: \* Create OAuth Credential with parameters: \`\`\`go cred := feast.NewOAuthCredential\("localhost:6566", "client\_id", "secret", "https://oauth.endpoint/auth"\) \`\`\` \| Parameter \| Description \| \| :--- \| :--- \|
0 commit comments