The file contains the API token in two forms - one to be used with our API, and the other one as a. Once you click the Add Key button, the API Key will be generated and a file will be automatically downloaded. Without further ado, let's create a non-administrative API key with virtual membership in two teams: Developers and DevOps: Insomnia api debugger full#If the key is given admin privileges, it has full access to the Spacelift API and won't be subject to access policies.įor non-administrative keys, you may want to add a virtual list of teams that the key should "belong to" so that existing access policies based on GitHub teams or SAML assertions can work with your API keys just as they do with regular users. The API key creation form will allow you to specify an arbitrary key name, along with the Admin setting and the list of teams. In order to create a new API Key, please navigate to the API Keys section of the Account Settings panel in your account. These "machine users" are called API Keys and can be created by Spacelift admins through the Settings panel. Spacelift supports creating and managing machine users with programmatic access to the Spacelift GraphQL API. Once authenticated, run spacectl profile export-token to receive the bearer token needed for future GraphQL queries/mutations.Authenticate to your Spacelift account using spacectl profile login. Insomnia api debugger install#
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |