Create a secret for a project service account
One step with MongoDB. We can help you get access.
Get something done
Create a secret for a project service account
Use MongoDB: its Mongodb Service Accounts API lets you create a secret for a project service account in a single step (POST /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets). capabilities.work can help you get signed up and connected.
- How do I generate a new secret for a service account in a project?
- Can I set how long a project service account secret stays valid?
Say it to your AI assistant
- Create a secret for service account {clientId} in project {groupId} that expires in {secretExpiresAfterHours} hours.
- Rotate the secret of project service account {clientId} in {groupId}.
For your developer
POST /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets in Mongodb Service Accounts API. Full spec on APIs.io.