-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Milestone
Description
I've run:
# vault kv put packet/config api_token=a-project-key
# vault kv put packet/role/foo type=project ttl=30 max_ttl=3600 project_id=xxx-xxx-xxx-xxx-xxx read_only=false
and then I created a key and revoked it. Vault's log shows an error in revocation:
Mar 28 12:37:43 kif vault[4655]: 2020-03-28T12:37:43.906Z [ERROR] expiration: failed to revoke lease: lease_id=packet/creds/foo/xxxxxxx error="failed to revoke entry: resp: (*logical.Response)(nil) err: DELETE https://api.packet.net/user/api-keys/xxxxxxxxxx: 403 Access denied for the current authentication token "
Looking at the user portal, this is the request to delete a project key:
Request URL:https://api.packet.net/api-keys/xxxxxxxxxxxxxxx?token=...
Request Method:DELETE
This plugin should probably have a way to clean up keys made this way, too: I don't really want to use a user key.
Metadata
Metadata
Assignees
Labels
No labels