You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error
credentialstores.(Service).createInRepo: unable to create credential store: vault.(Repository).CreateCredentialStore: vault token is not a periodic token, vault token issue: error #3011
Expected behavior
I think the Credential Store should get created since the token I created is periodic.
Describe the bug
Boundary throws an error message when you provide a vault token that does not use the deprecated
period
field.To Reproduce
[~]$ vault write auth/token/roles/boundary-cv-infra \ allowed_policies=boundary-cv-infra \ token_period=48h \ orphan=true \ token_type=service Success! Data written to: auth/token/roles/boundary-cv-infra
Expected behavior
I think the Credential Store should get created since the token I created is periodic.
Additional context
I'm not 100% sure, but I think this might be related to this check https://github.com/hashicorp/boundary/blob/v0.6.2/internal/credential/vault/repository_credential_store.go#L237-L239
Boundary will create a credential store if you manually create a token using the deprecated
period
field.Possibly related nomad PR hashicorp/nomad#6574
The text was updated successfully, but these errors were encountered: