Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create periodic tokens #43

Open
F21 opened this issue Oct 25, 2023 · 0 comments
Open

Unable to create periodic tokens #43

F21 opened this issue Oct 25, 2023 · 0 comments

Comments

@F21
Copy link

F21 commented Oct 25, 2023

I create a role that has token_period set.

vault write auth/oci/role/test \
    token_period = 1800 \
    token_policies = ["some_policy"]
    ocid_list = ["REDACTED"]

Logging in using the above role does not create a periodic/renewable token:

$ vault login -method=oci auth_type=instance role=test
Success! You are now authenticated. The token information displayed below
is already stored in the token helper. You do NOT need to run "vault login"
again. Future Vault requests will automatically use this token.

Key                     Value
---                     -----
token                   XXXX
token_accessor          7nnArOcb9Wrthmd6SdCTsCmP
token_duration          30m
token_renewable         false
token_policies          []
identity_policies       []
policies                []
token_meta_role_name    test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant