Closed marinsalinas closed 5 years ago
closes #8
example:
$ vault write atlas/roles/test \ name=myApiKey \ credential_type=org_programmatic_api_key \ organization_id=5b71ff2f96e82120d0aaec14 \ programmatic_key_roles=ORG_MEMBER \ ttl=2h \ max_ttl=5h
$ vault read atlas/creds/test // expected Key Value --- ----- lease_id atlas/creds/test/cgP8UmZ lease_duration 2h lease_renewable true description vault-test-1565202469-456 private_key <private-key> public_key yawvoldf
$ vault read atlas/roles/test // expected Key Value --- ----- credential_type org_programmatic_api_key database_name n/a max_ttl 5h0m0s organization_id 5b71ff2f96e82120d0aaec14 programmatic_key_roles [ORG_MEMBER] project_id n/a roles n/a ttl 2h0m0s
closes #8
example: