Skip to content

docs: Pass the auth config through RepoConfig in the user token samples - #6995

Merged
shuchu merged 5 commits into
feast-dev:masterfrom
shaikn6:docs-auth-repo-config
Nov 10, 2026
Merged

shuchu merged 5 commits into
feast-dev:masterfrom
shaikn6:docs-auth-repo-config

Conversation

@shaikn6

@shaikn6 shaikn6 commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Two samples in docs/reference/auth/user_token_provisioning.md construct the store with FeatureStore(repo_path=..., auth_config=auth_config). FeatureStore.__init__ takes repo_path, config, fs_yaml_file and embedding_provider, so both samples fail:

TypeError: FeatureStore.__init__() got an unexpected keyword argument 'auth_config'

Auth is read from RepoConfig.auth, so the samples now pass the same KubernetesAuthConfig through FeatureStore(config=RepoConfig(..., auth=auth_config)).

The project, registry and provider values in the new samples are placeholders. If you would rather these two samples point at the feature_store.yaml auth: block (Method 3 on the same page) instead of an inline RepoConfig, I can change them.

Which issue(s) this PR fixes:

None.

Checks

  • I've made sure the tests are passing.
  • My commits are signed off (git commit -s)
  • My PR title follows conventional commits format

Testing Strategy

  • Unit tests
  • Integration tests
  • Manual tests
  • Testing is not required for this change

Misc

Manual check with feast 0.66.0: the old call raises the TypeError above; the new construction succeeds with a local registry path and fs.config.auth_config is the KubernetesAuthConfig with its token. I did not test against a live Kubernetes-authenticated registry. Docs only, no code changes.

Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com>
@shaikn6
shaikn6 requested a review from a team as a code owner October 11, 2026 05:00

@haoxu0 haoxu0 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@shaikn6

shaikn6 commented Oct 24, 2026

Copy link
Copy Markdown
Contributor Author

@haoxu0 thanks for the approval. This is approved and has no conflicts; it's only behind master. I haven't updated the branch because GitHub's merge commit wouldn't carry a DCO sign-off. Could a maintainer merge it when convenient?

shaikn6 and others added 3 commits October 28, 2026 10:07
…nfig

Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com>
…nfig

Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com>
@shuchu
shuchu merged commit b9926eb into feast-dev:master Nov 10, 2026
2 checks passed
shuchu added a commit to shuchu/feast that referenced this pull request Nov 11, 2026
…es (feast-dev#6995)

Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com>
Co-authored-by: Hao Xu <sduxuhao@gmail.com>
Co-authored-by: Shuchu Han <shuchu.han@gmail.com>
Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants