OpenStack: application credentials

Create applications credentials
openstack application credential create admin --role admin --expiration $(date -I -d '+1 month')T23:59:59 -c id -c secret #-f value

Configure clouds.yml
# ~/.config/openstack/clouds.yaml
clouds:
dev-app:
auth_type: "v3applicationcredential"
auth:
auth_url: https://keystone.example.com/v3
application_credential_id: "b9275fc5b3aadceeb407fbe941427425"
application_credential_secret: "HqfdfKk3q63xrnIZgdkizePfv1s27aYPBTrbiMKFNdrOU1JpdjfR0KSyomS4A01vSdxjkE9MzPuM4dVG7emWuA"

Test application credentials
openstack image list --os-cloud=dev-app

List existing application credentials
openstack application credential list

Delete
openstack application credential delete aeec81afc87f49dc9e1877f7db447375 --os-cloud=dev-admin

Links
https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/application-credentials.html