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

Add policy_by_role #524

Open
spuder opened this issue Apr 11, 2020 · 1 comment
Open

Add policy_by_role #524

spuder opened this issue Apr 11, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@spuder
Copy link
Contributor

spuder commented Apr 11, 2020

This module can lookup policies by name with the following attribute

consul_token {'test_token':
  policies_by_name  => [
   'test_policy'
  ],

It would be nice if it could also lookup policies by role. Roles were introduced in consul 1.5

https://www.consul.io/docs/commands/acl/role.html

consul_token {'test_token':
  policies_by_role => [
  'test_role'
],
@stale
Copy link

stale bot commented Apr 6, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 6, 2022
@kenyon kenyon added enhancement New feature or request and removed wontfix labels Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants