Overview
Application credentials allow automation pipelines, CI/CD systems, and service accounts to authenticate without embedding user passwords. They are scoped to the user’s current project and role assignments, and can be restricted further to a specific subset of roles or API paths. Unlike user passwords, application credentials have explicit expiry dates and can be revoked independently.Prerequisites
- An active Polystack account with appropriate permissions
- Access to the Polystack Dashboard or CLI configured with credentials
- API credentials sourced (
source openrc.sh)
Create an Application Credential
- Dashboard
- CLI
Navigate to Application Credentials
Log in as the user who will own the credential. Navigate to
User Center > Application Credentials (via profile dropdown) and click Create Application Credential.
Configure the credential
Save the credential securely
After creation, the Dashboard displays the credential ID and secret once.
Download the
clouds.yaml snippet for immediate use.The secret is shown only once and cannot be retrieved again. Store it in a secrets
manager (such as Polystack Key Management or HashiCorp Vault) immediately after creation.
Authenticate with Application Credentials
Application credentials replace user passwords in theclouds.yaml configuration file.
Add to clouds.yaml
Add the following to your
~/.config/openstack/clouds.yaml:~/.config/openstack/clouds.yaml
Test the credential
Verify authentication with the credential
A token is issued — the credential is valid and functional.
Access Rules
Access rules restrict a credential to specific API operations, providing fine-grained control beyond role-level permissions.Create credential with access rules
Manage Existing Credentials
- Dashboard
- CLI
Navigate to User Center > Application Credentials (via profile dropdown) to view all credentials owned by
the current user. Delete expired or unused credentials to reduce attack surface.
Next Steps
Users
Manage user accounts that own application credentials.
Multi-Factor Authentication
Add TOTP-based two-factor authentication to user accounts.
Identity Admin Guide
Configure token policies and security hardening for your Identity deployment.
Troubleshooting
Resolve credential rejection and authentication failure issues.
