User Tools

Site Tools


wiki:rundeck_add_new_role_acl_policy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:rundeck_add_new_role_acl_policy [2022/10/28 13:59] – created antisawiki:rundeck_add_new_role_acl_policy [2024/05/13 11:39] (current) – [Tested on] add version antisa
Line 1: Line 1:
-{{tag>rundeck}}+{{tag>rundeck acl}}
  
 ====== Rundeck add new role ACL policy  ====== ====== Rundeck add new role ACL policy  ======
Line 17: Line 17:
       allow: 'read'       allow: 'read'
   adhoc:   adhoc:
-    - allow'read'+    - denyrun
   job:   job:
     - equals:     - equals:
Line 36: Line 36:
     - match:     - match:
         name: 'Backend'         name: 'Backend'
 +      allow: 'read'
 +  storage: # allow access to ssh key
 +    - match:
 +        path: 'keys/ssh_privkey'
       allow: 'read'       allow: 'read'
 by: by:
Line 43: Line 47:
 Now create new user that belongs to the editor group in rundeck's //realm.properties// file, e.g. Now create new user that belongs to the editor group in rundeck's //realm.properties// file, e.g.
   newuser:password1234,editor   newuser:password1234,editor
 +
 +===== Allow access to all jobs under Backend project =====
 +In job section above, don't match on name, so that part would go like
 +
 +<code yaml>
 +  ...
 +  job:
 +    - allow: [read,run,kill,killAs]
 +  ...
 +</code>
  
 ====== Tested on ====== ====== Tested on ======
-  * Rundeck 4.5.0 (docker container)+  * Rundeck (docker container) 4.5.0, 4.16.0 
  
 ====== See also ====== ====== See also ======
Line 51: Line 65:
  
 ====== References ====== ====== References ======
 +  * https://resources.rundeck.com/learning/acl-policy-files-by-example/
   * https://docs.rundeck.com/docs/administration/security/authorization.html#rundeck-resource-authorizations   * https://docs.rundeck.com/docs/administration/security/authorization.html#rundeck-resource-authorizations
 +  * https://kcaps.medium.com/rundeck-key-storage-acl-grant-access-to-path-27da34345220
  
  
wiki/rundeck_add_new_role_acl_policy.1666958369.txt.gz · Last modified: 2022/10/28 13:59 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki