Open BrandonIngalls opened 3 years ago
Thanks Brandon, I ran into this too.
I just ran into this bug too, it looks like the period
field was deprecated in Vault 1.2.0 (2019)
[~]$ vault version
Vault v1.11.2 (3a8aa12eba357ed2de3192b15c99c717afdeb2b5), built 2022-07-29T09:48:47Z
[~]$ vault path-help auth/token/roles/new-role | grep 'period (duration (sec))' -m 1 -A 3
period (duration (sec))
(DEPRECATED) Use 'token_period' instead.
still broken years later.
Describe the bug
Boundary throws an error message when you provide a vault token that does not use the deprecated
period
field.To Reproduce
Create a vault token to give to boundary
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 https://github.com/hashicorp/nomad/pull/6574