-
Notifications
You must be signed in to change notification settings - Fork 206
doc: DOCSP-54251 & DOCSP-54252 -- Document how to move from or to Service Accounts authentication #3753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
APIx bot: a message has been sent to Docs Slack channel |
|
||
The JWT token is only valid during its set duration time. See [Generate Service Account Token](https://www.mongodb.com/docs/atlas/api/service-accounts/generate-oauth2-token/#std-label-generate-oauth2-token-atlas) for more details on creating an SA token. | ||
|
||
**IMPORTANT:** Currently, the MongoDB Terraform provider does not support additional Token OAuth features. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q: what do we mean with this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely the phrasing is not the better (changes incoming), but there are 3 ideas here:
- The token expires.
- Redirect the user to the Atlas SA docs.
- "the MongoDB Terraform provider does not support additional Token OAuth features." I'm explicitly stating a suggestion mentioned in the project scope doc: https://docs.google.com/document/d/1PuAwTTNbVLUsqMH9wmmHKUCbEojhkQ_oHL2ONxwXZhs/edit?tab=t.0#heading=h.5c9t51nomy3f. However, i'm not sure if we actually need to have this in the final version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need @bodegus inputs here, can you reach out to him?
docs/guides/migrate-to-service-accounts-authentication-guide.md
Outdated
Show resolved
Hide resolved
docs/guides/migrate-to-service-accounts-authentication-guide.md
Outdated
Show resolved
Hide resolved
docs/guides/migrate-to-service-accounts-authentication-guide.md
Outdated
Show resolved
Hide resolved
docs/guides/migrate-to-service-accounts-authentication-guide.md
Outdated
Show resolved
Hide resolved
docs/guides/migrate-to-service-accounts-authentication-guide.md
Outdated
Show resolved
Hide resolved
Co-authored-by: kanchana-mongodb <[email protected]>
Co-authored-by: kanchana-mongodb <[email protected]>
Added the changes related to DOCSP-54252 since it seemed easier to manage it all in one PR. |
docs/guides/migrate-to-service-accounts-authentication-guide.md
Outdated
Show resolved
Hide resolved
docs/guides/migrate-to-service-accounts-authentication-guide.md
Outdated
Show resolved
Hide resolved
docs/guides/migrate-to-service-accounts-authentication-guide.md
Outdated
Show resolved
Hide resolved
docs/guides/migrate-to-service-accounts-authentication-guide.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Leo Antoli <[email protected]> Co-authored-by: Manuel Pedrozo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let's wait for other reviewers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - one minor comment
* CLOUDP-334161-service-accounts-dev: (21 commits) uncomment TestAccProject_withTags (#3774) chore: Add resource generation github workflow (#3772) chore: Display specific errors if credentials values are missing (#3768) adjust env vars (#3769) refactor: Uses the new create-only plan modifier in flex cluster (#3658) chore: Fix some tests in PAK and SA executions (#3765) chore: Allow SA for mongodbatlas_roles_org_id datasource (#3764) doc: Fixes path for collection attributes in cluster docs (#3739) build(deps): bump go.mongodb.org/atlas-sdk (#3750) doc: Add FLEX value under provider_name in advanced_cluster docs (#3763) chore: Add codegen intermediate model serialization (#3756) chore: Bump github.com/hashicorp/terraform-plugin-framework-validators (#3761) chore: Bump softprops/action-gh-release from 2.3.3 to 2.4.0 (#3759) chore: Bump actions/stale from 10.0.0 to 10.1.0 (#3758) chore: Bump peter-evans/create-or-update-comment from 4.0.0 to 5.0.0 (#3760) chore: Bump github.com/hashicorp/terraform-plugin-framework (#3762) include acceptance tests for org service account resource (#3755) chore: Add project_settings_api acceptance tests (#3751) chore: Remove unneeded Atlas versions (#3752) chore: Add create only plan modifier for non-updateable attributes in autogenerated resources (#3747) ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - slack feedback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description
DOCSP-54251
DOCSP-54252
Creates a guide to move to Service Accounts auth and updates the landing page with SA as the first auth option.
Link to any related issue(s):
Type of change:
Required Checklist:
Further comments