security & authorization

security

[!NOTE|label:references:]

authorization strategy

decrypt credentials.xml

[!NOTE|label:references:]

  • example

get current authorization strategy class

get raw authorization and permissions info

  • or

ProjectMatrixAuthorizationStrategy

grant permission to user

create new instance

RoleBasedAuthorizationStrategy

add 'admin' user to all permissions

crumb issuer

[!NOTE|label:references:]

get crumb issuer

set crumb issuer

  • or via curl

get crumb via cmd

[!TIP|local:references:]

  • curl

  • via wget

credential

[!TIP|label:something else :]

api :

list all credentials

StandardUsernamePasswordCredentials

BasicSSHUserPrivateKey

CertificateCredentials

SystemCredentialsProvider

vault

[!NOTE|label:references:]

VaultAppRoleCredential

[!NOTE|label:references:]

VaultUsernamePasswordCredential

VaultUsernamePasswordCredentialImpl

VaultSSHUserPrivateKeyImpl

VaultStringCredentialImpl

encrypt/decrypt password

  • or

tricky

This permission can be enabled by setting the system property jenkins.security.SystemReadPermission to true or installing the Extended Read Permission plugin.

Last updated

Was this helpful?