Documentation
¶
Index ¶
- Constants
- func DefaultRetryPolicy(ctx context.Context, resp *http.Response, err error) (bool, error)
- func IsErrorStatus(err error, status int) bool
- func MergeReplicationStates(old []string, new string) []string
- type Auth
- func (a *Auth) AWSConfigDeleteCertificate(ctx context.Context, certName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigDeleteClient(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigDeleteIdentityAccessList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigDeleteIdentityWhiteList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigDeleteRoleTagBlackList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigDeleteRoleTagDenyList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigDeleteSecurityTokenServiceAccount(ctx context.Context, accountId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigListCertificates(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigListSecurityTokenService(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigReadCertificate(ctx context.Context, certName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigReadClient(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigReadIdentity(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigReadIdentityAccessList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigReadIdentityWhiteList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigReadRoleTagBlackList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigReadRoleTagDenyList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigReadSecurityTokenServiceAccount(ctx context.Context, accountId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigRotateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigWriteCertificate(ctx context.Context, certName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigWriteClient(ctx context.Context, request schema.AWSConfigWriteClientRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigWriteIdentity(ctx context.Context, request schema.AWSConfigWriteIdentityRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigWriteIdentityAccessList(ctx context.Context, request schema.AWSConfigWriteIdentityAccessListRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigWriteIdentityWhiteList(ctx context.Context, request schema.AWSConfigWriteIdentityWhiteListRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigWriteRoleTagBlackList(ctx context.Context, request schema.AWSConfigWriteRoleTagBlackListRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigWriteRoleTagDenyList(ctx context.Context, request schema.AWSConfigWriteRoleTagDenyListRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSConfigWriteSecurityTokenServiceAccount(ctx context.Context, accountId string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSDeleteAuthRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSDeleteIdentityAccessListFor(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSDeleteIdentityWhiteListFor(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSDeleteRoleTagBlackListFor(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSDeleteRoleTagDenyListFor(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSListAuthRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSListAuthRoles2(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSListIdentityAccessList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSListIdentityWhiteList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSListRoleTagBlackList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSListRoleTagDenyList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSLogin(ctx context.Context, request schema.AWSLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSReadAuthRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSReadIdentityAccessListFor(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSReadIdentityWhiteListFor(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSReadRoleTagBlackListFor(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSReadRoleTagDenyListFor(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSWriteAuthRole(ctx context.Context, role string, request schema.AWSWriteAuthRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSWriteAuthRoleTag(ctx context.Context, role string, request schema.AWSWriteAuthRoleTagRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSWriteIdentityAccessListTidySettings(ctx context.Context, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSWriteIdentityWhiteListTidySettings(ctx context.Context, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSWriteRoleTagBlackListFor(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSWriteRoleTagBlackListTidySettings(ctx context.Context, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSWriteRoleTagDenyListFor(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AWSWriteRoleTagDenyListTidySettings(ctx context.Context, request schema.AWSWriteRoleTagDenyListTidySettingsRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AliCloudDeleteAuthRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AliCloudListAuthRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AliCloudListAuthRoles2(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AliCloudLogin(ctx context.Context, request schema.AliCloudLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AliCloudReadAuthRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AliCloudWriteAuthRole(ctx context.Context, role string, request schema.AliCloudWriteAuthRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDeleteBindSecretID(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDeleteBoundCIDRList(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDeletePeriod(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDeletePolicies(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDeleteRole(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDeleteSecretIDAccessorDestroy(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDeleteSecretIDBoundCIDRs(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDeleteSecretIDDestroy(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDeleteSecretIDNumUses(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDeleteSecretIDTTL(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDeleteTokenBoundCIDRs(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDeleteTokenMaxTTL(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDeleteTokenNumUses(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDeleteTokenTTL(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.AppRoleListRolesResponse], error)
- func (a *Auth) AppRoleListSecretID(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleListSecretIDResponse], error)
- func (a *Auth) AppRoleLogin(ctx context.Context, request schema.AppRoleLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleReadBindSecretID(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadBindSecretIDResponse], error)
- func (a *Auth) AppRoleReadBoundCIDRList(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadBoundCIDRListResponse], error)
- func (a *Auth) AppRoleReadLocalSecretIDs(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadLocalSecretIDsResponse], error)
- func (a *Auth) AppRoleReadPeriod(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadPeriodResponse], error)
- func (a *Auth) AppRoleReadPolicies(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadPoliciesResponse], error)
- func (a *Auth) AppRoleReadRole(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadRoleResponse], error)
- func (a *Auth) AppRoleReadRoleID(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadRoleIDResponse], error)
- func (a *Auth) AppRoleReadSecretIDBoundCIDRs(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadSecretIDBoundCIDRsResponse], error)
- func (a *Auth) AppRoleReadSecretIDNumUses(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadSecretIDNumUsesResponse], error)
- func (a *Auth) AppRoleReadSecretIDTTL(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadSecretIDTTLResponse], error)
- func (a *Auth) AppRoleReadTokenBoundCIDRs(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadTokenBoundCIDRsResponse], error)
- func (a *Auth) AppRoleReadTokenMaxTTL(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadTokenMaxTTLResponse], error)
- func (a *Auth) AppRoleReadTokenNumUses(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadTokenNumUsesResponse], error)
- func (a *Auth) AppRoleReadTokenTTL(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadTokenTTLResponse], error)
- func (a *Auth) AppRoleTidySecretID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWriteBindSecretID(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWriteBoundCIDRList(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWriteCustomSecretID(ctx context.Context, roleName string, ...) (*Response[schema.AppRoleWriteCustomSecretIDResponse], error)
- func (a *Auth) AppRoleWritePeriod(ctx context.Context, roleName string, request schema.AppRoleWritePeriodRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWritePolicies(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWriteRole(ctx context.Context, roleName string, request schema.AppRoleWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWriteRoleID(ctx context.Context, roleName string, request schema.AppRoleWriteRoleIDRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWriteSecretID(ctx context.Context, roleName string, ...) (*Response[schema.AppRoleWriteSecretIDResponse], error)
- func (a *Auth) AppRoleWriteSecretIDAccessorDestroy(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWriteSecretIDAccessorLookup(ctx context.Context, roleName string, ...) (*Response[schema.AppRoleWriteSecretIDAccessorLookupResponse], error)
- func (a *Auth) AppRoleWriteSecretIDBoundCIDRs(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWriteSecretIDDestroy(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWriteSecretIDLookup(ctx context.Context, roleName string, ...) (*Response[schema.AppRoleWriteSecretIDLookupResponse], error)
- func (a *Auth) AppRoleWriteSecretIDNumUses(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWriteSecretIDTTL(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWriteTokenBoundCIDRs(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWriteTokenMaxTTL(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWriteTokenNumUses(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleWriteTokenTTL(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AzureDeleteAuthConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AzureDeleteAuthRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AzureListAuthRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AzureLogin(ctx context.Context, request schema.AzureLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AzureReadAuthConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AzureReadAuthRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AzureWriteAuthConfig(ctx context.Context, request schema.AzureWriteAuthConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AzureWriteAuthRole(ctx context.Context, name string, request schema.AzureWriteAuthRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CentrifyLogin(ctx context.Context, request schema.CentrifyLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CentrifyReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CentrifyWriteConfig(ctx context.Context, request schema.CentrifyWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CertificatesDelete(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CertificatesDeleteCRL(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CertificatesList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CertificatesListCRLs(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CertificatesLogin(ctx context.Context, request schema.CertificatesLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CertificatesRead(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CertificatesReadCRL(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CertificatesReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CertificatesWrite(ctx context.Context, name string, request schema.CertificatesWriteRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CertificatesWriteCRL(ctx context.Context, name string, request schema.CertificatesWriteCRLRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CertificatesWriteConfig(ctx context.Context, request schema.CertificatesWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CloudFoundryDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CloudFoundryDeleteRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CloudFoundryListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CloudFoundryLogin(ctx context.Context, request schema.CloudFoundryLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CloudFoundryReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CloudFoundryReadRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CloudFoundryWriteConfig(ctx context.Context, request schema.CloudFoundryWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CloudFoundryWriteRole(ctx context.Context, role string, request schema.CloudFoundryWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GitHubDeleteMapTeam(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GitHubDeleteMapUser(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GitHubLogin(ctx context.Context, request schema.GitHubLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GitHubReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GitHubReadMapTeam(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GitHubReadMapTeams(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GitHubReadMapUser(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GitHubReadMapUsers(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GitHubWriteConfig(ctx context.Context, request schema.GitHubWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GitHubWriteMapTeam(ctx context.Context, key string, request schema.GitHubWriteMapTeamRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GitHubWriteMapUser(ctx context.Context, key string, request schema.GitHubWriteMapUserRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudListRoles2(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudLogin(ctx context.Context, request schema.GoogleCloudLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudReadAuthConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudWriteAuthConfig(ctx context.Context, request schema.GoogleCloudWriteAuthConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudWriteRole(ctx context.Context, name string, request schema.GoogleCloudWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudWriteRoleLabels(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudWriteRoleServiceAccounts(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) JWTDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) JWTListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) JWTLogin(ctx context.Context, request schema.JWTLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) JWTReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) JWTReadOIDCCallback(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) JWTReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) JWTWriteConfig(ctx context.Context, request schema.JWTWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) JWTWriteOIDCAuthURL(ctx context.Context, request schema.JWTWriteOIDCAuthURLRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) JWTWriteOIDCCallback(ctx context.Context, request schema.JWTWriteOIDCCallbackRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) JWTWriteRole(ctx context.Context, name string, request schema.JWTWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) KerberosDeleteGroup(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) KerberosListGroups(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) KerberosLogin(ctx context.Context, request schema.KerberosLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) KerberosReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) KerberosReadGroup(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) KerberosReadLDAPConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) KerberosWriteConfig(ctx context.Context, request schema.KerberosWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) KerberosWriteGroup(ctx context.Context, name string, request schema.KerberosWriteGroupRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) KerberosWriteLDAPConfig(ctx context.Context, request schema.KerberosWriteLDAPConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) KubernetesDeleteAuthRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) KubernetesListAuthRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) KubernetesLogin(ctx context.Context, request schema.KubernetesLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) KubernetesReadAuthConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) KubernetesReadAuthRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) KubernetesWriteAuthConfig(ctx context.Context, request schema.KubernetesWriteAuthConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) KubernetesWriteAuthRole(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) LDAPDeleteGroup(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) LDAPDeleteUser(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) LDAPListGroups(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) LDAPListUsers(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) LDAPLogin(ctx context.Context, username string, request schema.LDAPLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) LDAPReadAuthConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) LDAPReadGroup(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) LDAPReadUser(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) LDAPWriteAuthConfig(ctx context.Context, request schema.LDAPWriteAuthConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) LDAPWriteGroup(ctx context.Context, name string, request schema.LDAPWriteGroupRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) LDAPWriteUser(ctx context.Context, name string, request schema.LDAPWriteUserRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OCIDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OCIDeleteRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OCIListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OCILoginWithRole(ctx context.Context, role string, request schema.OCILoginWithRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OCIReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OCIReadRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OCIWriteConfig(ctx context.Context, request schema.OCIWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OCIWriteRole(ctx context.Context, role string, request schema.OCIWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OIDCDeleteAuthRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OIDCListAuthRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OIDCLogin(ctx context.Context, request schema.OIDCLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OIDCReadAuthConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OIDCReadAuthRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OIDCReadCallback(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OIDCWriteAuthConfig(ctx context.Context, request schema.OIDCWriteAuthConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OIDCWriteAuthRole(ctx context.Context, name string, request schema.OIDCWriteAuthRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OIDCWriteAuthURL(ctx context.Context, request schema.OIDCWriteAuthURLRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OIDCWriteCallback(ctx context.Context, request schema.OIDCWriteCallbackRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OktaDeleteGroup(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OktaDeleteUser(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OktaListGroups(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OktaListUsers(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OktaLogin(ctx context.Context, username string, request schema.OktaLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OktaReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OktaReadGroup(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OktaReadUser(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OktaVerify(ctx context.Context, nonce string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) OktaWriteConfig(ctx context.Context, request schema.OktaWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OktaWriteGroup(ctx context.Context, name string, request schema.OktaWriteGroupRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OktaWriteUser(ctx context.Context, name string, request schema.OktaWriteUserRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) RadiusDeleteUser(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) RadiusListUsers(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) RadiusLogin(ctx context.Context, request schema.RadiusLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) RadiusLoginWithUsername(ctx context.Context, urlusername string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) RadiusReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) RadiusReadUser(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) RadiusWriteConfig(ctx context.Context, request schema.RadiusWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) RadiusWriteUser(ctx context.Context, name string, request schema.RadiusWriteUserRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenDeleteRole(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenListAccessors(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenReadLookup(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenReadLookupSelf(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenReadRole(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenRenew(ctx context.Context, request schema.TokenRenewRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenRenewAccessor(ctx context.Context, request schema.TokenRenewAccessorRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenRenewSelf(ctx context.Context, request schema.TokenRenewSelfRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenRevoke(ctx context.Context, request schema.TokenRevokeRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenRevokeAccessor(ctx context.Context, request schema.TokenRevokeAccessorRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenRevokeOrphan(ctx context.Context, request schema.TokenRevokeOrphanRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenRevokeSelf(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenTidy(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenWriteCreate(ctx context.Context, request schema.TokenWriteCreateRequest, format string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenWriteCreateOrphan(ctx context.Context, request schema.TokenWriteCreateOrphanRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenWriteCreateWithRole(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenWriteLookup(ctx context.Context, request schema.TokenWriteLookupRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenWriteLookupAccessor(ctx context.Context, request schema.TokenWriteLookupAccessorRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenWriteLookupSelf(ctx context.Context, request schema.TokenWriteLookupSelfRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenWriteRole(ctx context.Context, roleName string, request schema.TokenWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) UserpassDeleteUser(ctx context.Context, username string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) UserpassListUsers(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) UserpassLogin(ctx context.Context, username string, request schema.UserpassLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) UserpassReadUser(ctx context.Context, username string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) UserpassWriteUser(ctx context.Context, username string, request schema.UserpassWriteUserRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) UserpassWriteUserPassword(ctx context.Context, username string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) UserpassWriteUserPolicies(ctx context.Context, username string, ...) (*Response[map[string]interface{}], error)
- type Client
- func (c *Client) ClearCustomHeaders()
- func (c *Client) ClearMFACredentials()
- func (c *Client) ClearNamespace()
- func (c *Client) ClearReplicationForwardingMode()
- func (c *Client) ClearRequestCallbacks()
- func (c *Client) ClearResponseCallbacks()
- func (c *Client) ClearResponseWrapping()
- func (c *Client) ClearToken()
- func (c *Client) Clone() *Client
- func (c *Client) Configuration() ClientConfiguration
- func (c *Client) Delete(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (c *Client) DeleteWithParameters(ctx context.Context, path string, parameters url.Values, ...) (*Response[map[string]interface{}], error)
- func (c *Client) List(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (c *Client) Read(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (c *Client) ReadRaw(ctx context.Context, path string, options ...RequestOption) (*http.Response, error)
- func (c *Client) ReadRawWithParameters(ctx context.Context, path string, parameters url.Values, ...) (*http.Response, error)
- func (c *Client) ReadWithParameters(ctx context.Context, path string, parameters url.Values, ...) (*Response[map[string]interface{}], error)
- func (c *Client) SetCustomHeaders(headers http.Header) error
- func (c *Client) SetMFACredentials(credentials ...string) error
- func (c *Client) SetNamespace(namespace string) error
- func (c *Client) SetReplicationForwardingMode(mode ReplicationForwardingMode)
- func (c *Client) SetRequestCallbacks(callbacks ...RequestCallback) error
- func (c *Client) SetResponseCallbacks(callbacks ...ResponseCallback) error
- func (c *Client) SetResponseWrapping(ttl time.Duration) error
- func (c *Client) SetToken(token string) error
- func (c *Client) Write(ctx context.Context, path string, body map[string]interface{}, ...) (*Response[map[string]interface{}], error)
- func (c *Client) WriteFromBytes(ctx context.Context, path string, body []byte, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (c *Client) WriteFromReader(ctx context.Context, path string, body io.Reader, options ...RequestOption) (*Response[map[string]interface{}], error)
- type ClientCertificateEntry
- type ClientCertificateKeyEntry
- type ClientConfiguration
- type ClientOption
- func WithAddress(address string) ClientOption
- func WithConfiguration(configuration ClientConfiguration) ClientOption
- func WithDisableRedirects() ClientOption
- func WithEnableSRVLookup() ClientOption
- func WithEnforceReadYourWritesConsistency() ClientOption
- func WithEnvironment() ClientOption
- func WithHTTPClient(client *http.Client) ClientOption
- func WithRateLimiter(limiter *rate.Limiter) ClientOption
- func WithRequestTimeout(timeout time.Duration) ClientOption
- func WithRetryConfiguration(configuration RetryConfiguration) ClientOption
- func WithTLS(configuration TLSConfiguration) ClientOption
- type Identity
- func (i *Identity) AliasDeleteByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) AliasListByID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) AliasReadByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) AliasWrite(ctx context.Context, request schema.AliasWriteRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) AliasWriteByID(ctx context.Context, id string, request schema.AliasWriteByIDRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityBatchDelete(ctx context.Context, request schema.EntityBatchDeleteRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityDeleteAliasByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityDeleteByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityDeleteByName(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityListAliasesByID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityListByID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityListByName(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityLookup(ctx context.Context, request schema.EntityLookupRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityMerge(ctx context.Context, request schema.EntityMergeRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityReadAliasByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityReadByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityReadByName(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityWrite(ctx context.Context, request schema.EntityWriteRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityWriteAlias(ctx context.Context, request schema.EntityWriteAliasRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityWriteAliasByID(ctx context.Context, id string, request schema.EntityWriteAliasByIDRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityWriteByID(ctx context.Context, id string, request schema.EntityWriteByIDRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityWriteByName(ctx context.Context, name string, request schema.EntityWriteByNameRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupDeleteAliasByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupDeleteByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupDeleteByName(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupListAliasesByID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupListByID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupListByName(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupLookup(ctx context.Context, request schema.GroupLookupRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupReadAliasByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupReadByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupReadByName(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupWrite(ctx context.Context, request schema.GroupWriteRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupWriteAlias(ctx context.Context, request schema.GroupWriteAliasRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupWriteAliasByID(ctx context.Context, id string, request schema.GroupWriteAliasByIDRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupWriteByID(ctx context.Context, id string, request schema.GroupWriteByIDRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupWriteByName(ctx context.Context, name string, request schema.GroupWriteByNameRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MFADeleteLoginEnforcement(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAListLoginEnforcements(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodAdminDestroyTOTP(ctx context.Context, request schema.MFAMethodAdminDestroyTOTPRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodAdminGenerateTOTP(ctx context.Context, request schema.MFAMethodAdminGenerateTOTPRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodDeleteDuo(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodDeleteOkta(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodDeletePingID(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodDeleteTOTP(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodGenerateTOTP(ctx context.Context, request schema.MFAMethodGenerateTOTPRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodListDuo(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodListOkta(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodListPingID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodListTOTP(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodRead(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodReadDuo(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodReadOkta(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodReadPingID(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodReadTOTP(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodWriteDuo(ctx context.Context, methodId string, request schema.MFAMethodWriteDuoRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodWriteOkta(ctx context.Context, methodId string, request schema.MFAMethodWriteOktaRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodWritePingID(ctx context.Context, methodId string, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAMethodWriteTOTP(ctx context.Context, methodId string, request schema.MFAMethodWriteTOTPRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAReadLoginEnforcement(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MFAWriteLoginEnforcement(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCDeleteAssignment(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCDeleteClient(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCDeleteKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCDeleteProvider(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCDeleteScope(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCIntrospect(ctx context.Context, request schema.OIDCIntrospectRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCListAssignments(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCListClients(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCListKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCListProviders(ctx context.Context, allowedClientId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCListScopes(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCReadAssignment(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCReadClient(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCReadKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCReadProvider(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCReadProviderAuthorize(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCReadProviderUserInfo(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCReadProviderWellKnownKeys(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCReadProviderWellKnownOpenIDConfiguration(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCReadScope(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCReadToken(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCReadWellKnownKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCReadWellKnownOpenIDConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCRotateKey(ctx context.Context, name string, request schema.OIDCRotateKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCWriteAssignment(ctx context.Context, name string, request schema.OIDCWriteAssignmentRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCWriteClient(ctx context.Context, name string, request schema.OIDCWriteClientRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCWriteConfig(ctx context.Context, request schema.OIDCWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCWriteKey(ctx context.Context, name string, request schema.OIDCWriteKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCWriteProvider(ctx context.Context, name string, request schema.OIDCWriteProviderRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCWriteProviderAuthorize(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCWriteProviderToken(ctx context.Context, name string, request schema.OIDCWriteProviderTokenRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCWriteProviderUserInfo(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCWriteRole(ctx context.Context, name string, request schema.OIDCWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OIDCWriteScope(ctx context.Context, name string, request schema.OIDCWriteScopeRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) PersonaIDDeleteByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) PersonaIDReadByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) PersonaIDWriteByID(ctx context.Context, id string, request schema.PersonaIDWriteByIDRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) PersonaListByID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) PersonaWrite(ctx context.Context, request schema.PersonaWriteRequest, ...) (*Response[map[string]interface{}], error)
- type MFAConstraintAny
- type MFAMethodID
- type MFARequirement
- type RedirectError
- type ReplicationForwardingMode
- type ReplicationState
- type RequestCallback
- type RequestOption
- func WithCustomHeaders(headers http.Header) RequestOption
- func WithMFACredentials(credentials ...string) RequestOption
- func WithMountPath(path string) RequestOption
- func WithNamespace(namespace string) RequestOption
- func WithReplicationForwardingMode(mode ReplicationForwardingMode) RequestOption
- func WithRequestCallbacks(callbacks ...RequestCallback) RequestOption
- func WithResponseCallbacks(callbacks ...ResponseCallback) RequestOption
- func WithResponseWrapping(ttl time.Duration) RequestOption
- func WithToken(token string) RequestOption
- type Response
- type ResponseAuth
- type ResponseCallback
- type ResponseError
- type ResponseWrapInfo
- type RetryConfiguration
- type Secrets
- func (s *Secrets) AWSConfigReadLease(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AWSConfigReadRootIAMCredentials(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AWSConfigRotateRootIAMCredentials(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AWSConfigWriteLease(ctx context.Context, request schema.AWSConfigWriteLeaseRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AWSConfigWriteRootIAMCredentials(ctx context.Context, request schema.AWSConfigWriteRootIAMCredentialsRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AWSDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AWSListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AWSReadCredentials(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AWSReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AWSReadSecurityTokenService(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AWSWriteCredentials(ctx context.Context, request schema.AWSWriteCredentialsRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AWSWriteRole(ctx context.Context, name string, request schema.AWSWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AWSWriteSecurityTokenService(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryCheckInLibrary(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryCheckInManageLibrary(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryCheckOutLibrary(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryDeleteLibrary(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryListLibraries(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryReadLibrary(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryReadLibraryStatus(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryRotateRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryRotateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryWriteConfig(ctx context.Context, request schema.ActiveDirectoryWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryWriteLibrary(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) ActiveDirectoryWriteRole(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AliCloudDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AliCloudDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AliCloudListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AliCloudReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AliCloudReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AliCloudReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AliCloudWriteConfig(ctx context.Context, request schema.AliCloudWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AliCloudWriteRole(ctx context.Context, name string, request schema.AliCloudWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AzureDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AzureDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AzureListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AzureReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AzureReadCredentials(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AzureReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AzureRotateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AzureWriteConfig(ctx context.Context, request schema.AzureWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AzureWriteRole(ctx context.Context, name string, request schema.AzureWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) ConsulDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ConsulListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ConsulReadAccessConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ConsulReadCredentials(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ConsulReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ConsulWriteAccessConfig(ctx context.Context, request schema.ConsulWriteAccessConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) ConsulWriteRole(ctx context.Context, name string, request schema.ConsulWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) CubbyholeDelete(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) CubbyholeRead(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) CubbyholeWrite(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseDeleteConfig(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseDeleteStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseListConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseListStaticRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseReadConfig(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseReadStaticCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseReadStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseReset(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseRotateRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseRotateRoot(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseWriteConfig(ctx context.Context, name string, request schema.DatabaseWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseWriteRole(ctx context.Context, name string, request schema.DatabaseWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseWriteStaticRole(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudDeleteRoleset(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudDeleteStaticAccount(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSDecrypt(ctx context.Context, key string, request schema.GoogleCloudKMSDecryptRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSDeleteKey(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSDeregisterKey(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSEncrypt(ctx context.Context, key string, request schema.GoogleCloudKMSEncryptRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSListKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSReadKey(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSReadKeyConfig(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSReadPubkey(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSReencrypt(ctx context.Context, key string, request schema.GoogleCloudKMSReencryptRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSRegisterKey(ctx context.Context, key string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSRotateKey(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSSign(ctx context.Context, key string, request schema.GoogleCloudKMSSignRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSTrimKey(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSVerify(ctx context.Context, key string, request schema.GoogleCloudKMSVerifyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSWriteConfig(ctx context.Context, request schema.GoogleCloudKMSWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSWriteKey(ctx context.Context, key string, request schema.GoogleCloudKMSWriteKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKMSWriteKeyConfig(ctx context.Context, key string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudListRolesets(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudListStaticAccounts(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudReadKey(ctx context.Context, roleset string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudReadRoleset(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudReadRolesetKey(ctx context.Context, roleset string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudReadRolesetToken(ctx context.Context, roleset string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudReadStaticAccount(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudReadStaticAccountKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudReadStaticAccountToken(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudReadToken(ctx context.Context, roleset string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudRotateRoleset(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudRotateRolesetKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudRotateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudRotateStaticAccountKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudWriteConfig(ctx context.Context, request schema.GoogleCloudWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudWriteKey(ctx context.Context, roleset string, request schema.GoogleCloudWriteKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudWriteRoleset(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudWriteRolesetKey(ctx context.Context, roleset string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudWriteRolesetToken(ctx context.Context, roleset string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudWriteStaticAccount(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudWriteStaticAccountKey(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudWriteStaticAccountToken(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudWriteToken(ctx context.Context, roleset string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv1Delete(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv1Read(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv1Write(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv2Delete(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv2DeleteMetadata(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv2DeleteVersions(ctx context.Context, path string, request schema.KVv2DeleteVersionsRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv2DestroyVersions(ctx context.Context, path string, request schema.KVv2DestroyVersionsRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv2Read(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv2ReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv2ReadMetadata(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv2ReadSubkeys(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv2UndeleteVersions(ctx context.Context, path string, request schema.KVv2UndeleteVersionsRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv2Write(ctx context.Context, path string, request schema.KVv2WriteRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv2WriteConfig(ctx context.Context, request schema.KVv2WriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) KVv2WriteMetadata(ctx context.Context, path string, request schema.KVv2WriteMetadataRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) KubernetesDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KubernetesDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KubernetesListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KubernetesReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KubernetesReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KubernetesWriteConfig(ctx context.Context, request schema.KubernetesWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) KubernetesWriteCredentials(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) KubernetesWriteRole(ctx context.Context, name string, request schema.KubernetesWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPCheckInLibrary(ctx context.Context, name string, request schema.LDAPCheckInLibraryRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPCheckInManageLibrary(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPCheckOutLibrary(ctx context.Context, name string, request schema.LDAPCheckOutLibraryRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPDeleteLibrary(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPDeleteStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPListLibraries(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPListStaticRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPReadLibrary(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPReadLibraryStatus(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPReadStaticCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPReadStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPRotateRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPRotateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPWriteConfig(ctx context.Context, request schema.LDAPWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPWriteLibrary(ctx context.Context, name string, request schema.LDAPWriteLibraryRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPWriteRole(ctx context.Context, name string, request schema.LDAPWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) LDAPWriteStaticRole(ctx context.Context, name string, request schema.LDAPWriteStaticRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) MongoDBAtlasDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) MongoDBAtlasListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) MongoDBAtlasReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) MongoDBAtlasReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) MongoDBAtlasReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) MongoDBAtlasWriteConfig(ctx context.Context, request schema.MongoDBAtlasWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) MongoDBAtlasWriteCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) MongoDBAtlasWriteRole(ctx context.Context, name string, request schema.MongoDBAtlasWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadDeleteAccessConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadDeleteLeaseConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadReadAccessConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadReadLeaseConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadWriteAccessConfig(ctx context.Context, request schema.NomadWriteAccessConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadWriteLeaseConfig(ctx context.Context, request schema.NomadWriteLeaseConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadWriteRole(ctx context.Context, name string, request schema.NomadWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPCheckInLibrary(ctx context.Context, name string, request schema.OpenLDAPCheckInLibraryRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPCheckInManageLibrary(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPCheckOutLibrary(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPDeleteLibrary(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPDeleteStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPListLibraries(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPListStaticRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPReadLibrary(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPReadLibraryStatus(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPReadStaticCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPReadStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPRotateRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPRotateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPWriteConfig(ctx context.Context, request schema.OpenLDAPWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPWriteLibrary(ctx context.Context, name string, request schema.OpenLDAPWriteLibraryRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPWriteRole(ctx context.Context, name string, request schema.OpenLDAPWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) OpenLDAPWriteStaticRole(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIBundleWrite(ctx context.Context, request schema.PKIBundleWriteRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIDeleteKey(ctx context.Context, keyRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIDeleteRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIGenerateRoot(ctx context.Context, exported string, request schema.PKIGenerateRootRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIImportKeys(ctx context.Context, request schema.PKIImportKeysRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIIssuerIssueRole(ctx context.Context, issuerRef string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIIssuerResignCRLs(ctx context.Context, issuerRef string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIIssuerRevoke(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIIssuerSignIntermediate(ctx context.Context, issuerRef string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIIssuerSignRevocationList(ctx context.Context, issuerRef string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIIssuerSignRole(ctx context.Context, issuerRef string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIIssuerSignSelfIssued(ctx context.Context, issuerRef string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIIssuerSignVerbatim(ctx context.Context, issuerRef string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIIssuerSignVerbatimRole(ctx context.Context, issuerRef string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIIssuersGenerateIntermediate(ctx context.Context, exported string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIIssuersGenerateRoot(ctx context.Context, exported string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIIssuersList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIListCerts(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIListCertsRevoked(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIListKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadAutoTidyConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadCA(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadCAChain(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadCAPem(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadCRL(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadCRLConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadCRLRotate(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadCRLRotateDelta(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadCert(ctx context.Context, serial string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadCertCAChain(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadCertRaw(ctx context.Context, serial string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadCertRawPem(ctx context.Context, serial string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadClusterConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadDeltaCRL(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadIssuersConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadKey(ctx context.Context, keyRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadKeysConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadOCSPReq(ctx context.Context, req string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReadURLConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIReplaceRoot(ctx context.Context, request schema.PKIReplaceRootRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIRevoke(ctx context.Context, request schema.PKIRevokeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIRevokeWithKey(ctx context.Context, request schema.PKIRevokeWithKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIRootSignIntermediate(ctx context.Context, request schema.PKIRootSignIntermediateRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIRootSignSelfIssued(ctx context.Context, request schema.PKIRootSignSelfIssuedRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIRotateRoot(ctx context.Context, exported string, request schema.PKIRotateRootRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKISignRole(ctx context.Context, role string, request schema.PKISignRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKISignVerbatim(ctx context.Context, request schema.PKISignVerbatimRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKISignVerbatimRole(ctx context.Context, role string, request schema.PKISignVerbatimRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKITidy(ctx context.Context, request schema.PKITidyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKITidyCancel(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKITidyStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteAutoTidyConfig(ctx context.Context, request schema.PKIWriteAutoTidyConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteCAConfig(ctx context.Context, request schema.PKIWriteCAConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteCRLConfig(ctx context.Context, request schema.PKIWriteCRLConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteCerts(ctx context.Context, request schema.PKIWriteCertsRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteClusterConfig(ctx context.Context, request schema.PKIWriteClusterConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteIntermediateCrossSign(ctx context.Context, request schema.PKIWriteIntermediateCrossSignRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteIntermediateGenerate(ctx context.Context, exported string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteIntermediateSetSigned(ctx context.Context, request schema.PKIWriteIntermediateSetSignedRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteInternalExported(ctx context.Context, request schema.PKIWriteInternalExportedRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteIssueRole(ctx context.Context, role string, request schema.PKIWriteIssueRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteIssuersConfig(ctx context.Context, request schema.PKIWriteIssuersConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteKMS(ctx context.Context, request schema.PKIWriteKMSRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteKey(ctx context.Context, keyRef string, request schema.PKIWriteKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteKeysConfig(ctx context.Context, request schema.PKIWriteKeysConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteOCSP(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteRole(ctx context.Context, name string, request schema.PKIWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PKIWriteURLConfig(ctx context.Context, request schema.PKIWriteURLConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiDeleteIssuerRefDerPem(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiDeleteJson(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadDelta(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadDeltaPem(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadDer(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadIssuerRefCrlPemDerDeltaPem(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadIssuerRefDerPem(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadJson(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadPem(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerRefDerPem(ctx context.Context, issuerRef string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteJson(ctx context.Context, request schema.PkiWriteJsonRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) RabbitMQDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) RabbitMQListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) RabbitMQReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) RabbitMQReadLeaseConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) RabbitMQReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) RabbitMQWriteConnectionConfig(ctx context.Context, request schema.RabbitMQWriteConnectionConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) RabbitMQWriteLeaseConfig(ctx context.Context, request schema.RabbitMQWriteLeaseConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) RabbitMQWriteRole(ctx context.Context, name string, request schema.RabbitMQWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHDeleteCAConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHDeleteKeys(ctx context.Context, keyName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHDeleteRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHDeleteZeroAddressConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHLookup(ctx context.Context, request schema.SSHLookupRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHReadCAConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHReadPublicKey(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHReadRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHReadZeroAddressConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHSign(ctx context.Context, role string, request schema.SSHSignRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHVerify(ctx context.Context, request schema.SSHVerifyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHWriteCAConfig(ctx context.Context, request schema.SSHWriteCAConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHWriteCredentials(ctx context.Context, role string, request schema.SSHWriteCredentialsRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHWriteIssue(ctx context.Context, role string, request schema.SSHWriteIssueRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHWriteKeys(ctx context.Context, keyName string, request schema.SSHWriteKeysRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHWriteRole(ctx context.Context, role string, request schema.SSHWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) SSHWriteZeroAddressConfig(ctx context.Context, request schema.SSHWriteZeroAddressConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TOTPDeleteKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TOTPListKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TOTPReadCode(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TOTPReadKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TOTPWriteCode(ctx context.Context, name string, request schema.TOTPWriteCodeRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TOTPWriteKey(ctx context.Context, name string, request schema.TOTPWriteKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformRotateRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformWriteConfig(ctx context.Context, request schema.TerraformWriteConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformWriteCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformWriteRole(ctx context.Context, name string, request schema.TerraformWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitBackup(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitDecrypt(ctx context.Context, name string, request schema.TransitDecryptRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitDeleteKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitEncrypt(ctx context.Context, name string, request schema.TransitEncryptRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitExport(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitExportVersion(ctx context.Context, name string, type_ string, version string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitGenerateDataKey(ctx context.Context, name string, plaintext string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitGenerateHMAC(ctx context.Context, name string, request schema.TransitGenerateHMACRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitGenerateHMACWithAlgorithm(ctx context.Context, name string, urlalgorithm string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitGenerateRandom(ctx context.Context, request schema.TransitGenerateRandomRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitGenerateRandomSource(ctx context.Context, source string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitGenerateRandomSourceBytes(ctx context.Context, source string, urlbytes string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitHash(ctx context.Context, request schema.TransitHashRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitHashWithAlgorithm(ctx context.Context, urlalgorithm string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitImportKey(ctx context.Context, name string, request schema.TransitImportKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitImportKeyVersion(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitListKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitReadCacheConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitReadConfigKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitReadKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitReadWrappingKey(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitRestore(ctx context.Context, request schema.TransitRestoreRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitRestoreKey(ctx context.Context, name string, request schema.TransitRestoreKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitRewrap(ctx context.Context, name string, request schema.TransitRewrapRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitRotateKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitSign(ctx context.Context, name string, request schema.TransitSignRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitSignWithAlgorithm(ctx context.Context, name string, urlalgorithm string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitTrimKey(ctx context.Context, name string, request schema.TransitTrimKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitVerify(ctx context.Context, name string, request schema.TransitVerifyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitVerifyWithAlgorithm(ctx context.Context, name string, urlalgorithm string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitWriteCacheConfig(ctx context.Context, request schema.TransitWriteCacheConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitWriteConfigKeys(ctx context.Context, request schema.TransitWriteConfigKeysRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitWriteKey(ctx context.Context, name string, request schema.TransitWriteKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitWriteKeyConfig(ctx context.Context, name string, request schema.TransitWriteKeyConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitWriteRandomUrlbytes(ctx context.Context, urlbytes string, ...) (*Response[map[string]interface{}], error)
- type ServerCertificateEntry
- type System
- func (s *System) CalculateAuditHash(ctx context.Context, path string, request schema.CalculateAuditHashRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) DeleteAuditDevice(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteAuthMethod(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteConfigAuditingRequestHeader(ctx context.Context, header string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteConfigCORS(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteConfigUIHeader(ctx context.Context, header string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteGenerateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteGenerateRootAttempt(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteLogger(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteLoggers(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteMount(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeletePluginsCatalogByTypeByName(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeletePoliciesACL(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeletePoliciesPassword(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeletePolicy(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteQuotasRateLimit(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteRaw(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteRawPath(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteRekeyBackup(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteRekeyInit(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteRekeyRecoveryKeyBackup(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) DeleteRekeyVerify(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ListConfigUIHeaders(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ListLeasesLookupPrefix(ctx context.Context, prefix string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ListPluginsCatalogByType(ctx context.Context, type_ string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ListPoliciesACL(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ListPoliciesPassword(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ListQuotasRateLimits(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ListVersionHistory(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) MFAValidate(ctx context.Context, request schema.MFAValidateRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) Monitor(ctx context.Context, logFormat string, logLevel string, ...) (*Response[map[string]interface{}], error)
- func (s *System) PprofRead(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofReadAllocs(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofReadBlock(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofReadCmdline(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofReadGoroutine(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofReadHeap(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofReadMutex(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofReadProfile(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofReadSymbol(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofReadThreadcreate(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofReadTrace(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadAuditDevices(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadAuthMethod(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadAuthMethodTune(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadAuthMethods(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadConfigAuditingRequestHeader(ctx context.Context, header string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadConfigAuditingRequestHeaders(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadConfigCORS(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadConfigStateSanitized(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadConfigUIHeader(ctx context.Context, header string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadGenerateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadGenerateRootAttempt(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadHAStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadHealth(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadHostInfo(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInFlightRequests(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInit(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInternalCountersActivity(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInternalCountersActivityExport(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInternalCountersActivityMonthly(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInternalCountersConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInternalCountersEntities(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInternalCountersRequests(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInternalCountersTokens(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInternalInspectRouter(ctx context.Context, tag string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInternalSpecsOpenAPI(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInternalUIFeatureFlags(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInternalUIMount(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInternalUIMounts(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInternalUINamespaces(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInternalUIResultantACL(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadKeyStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadLeader(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadLeases(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadLeasesCount(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadLogger(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadLoggers(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadMetrics(ctx context.Context, format string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadMount(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadMounts(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadMountsConfig(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadPluginsCatalog(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadPluginsCatalogByTypeByName(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadPolicies(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadPoliciesACL(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadPoliciesPassword(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadPoliciesPasswordGenerate(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadPolicy(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadQuotasConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadQuotasRateLimit(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadRaw(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadRawPath(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadRekeyBackup(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadRekeyInit(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadRekeyRecoveryKeyBackup(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadRekeyVerify(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadRemountStatus(ctx context.Context, migrationId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadReplicationStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadRotateConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadSealStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) Remount(ctx context.Context, request schema.RemountRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) Renew(ctx context.Context, request schema.RenewRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) RenewFor(ctx context.Context, urlLeaseId string, request schema.RenewForRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) Revoke(ctx context.Context, request schema.RevokeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) RevokeForce(ctx context.Context, prefix string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) RevokeLease(ctx context.Context, urlLeaseId string, request schema.RevokeLeaseRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) RevokePrefix(ctx context.Context, prefix string, request schema.RevokePrefixRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) Rotate(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) Seal(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) StepDownLeader(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) SysDeletePluginsCatalogName(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) SysListLeasesLookup(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) SysReadPluginsCatalogName(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) SysWriteLockedusersMountAccessorUnlockAliasIdentifier(ctx context.Context, aliasIdentifier string, mountAccessor string, ...) (*Response[map[string]interface{}], error)
- func (s *System) SysWritePluginsCatalogName(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *System) SysWriteToolsRandomUrlbytes(ctx context.Context, urlbytes string, ...) (*Response[map[string]interface{}], error)
- func (s *System) ToolsGenerateRandom(ctx context.Context, request schema.ToolsGenerateRandomRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) ToolsGenerateRandomSource(ctx context.Context, source string, ...) (*Response[map[string]interface{}], error)
- func (s *System) ToolsGenerateRandomSourceBytes(ctx context.Context, source string, urlbytes string, ...) (*Response[map[string]interface{}], error)
- func (s *System) ToolsHash(ctx context.Context, request schema.ToolsHashRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ToolsHashWith(ctx context.Context, urlalgorithm string, request schema.ToolsHashWithRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) Unseal(ctx context.Context, request schema.UnsealRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) WrappingReadLookup(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) WrappingRewrap(ctx context.Context, request schema.WrappingRewrapRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WrappingUnwrap(ctx context.Context, request schema.WrappingUnwrapRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WrappingWrap(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) WrappingWriteLookup(ctx context.Context, request schema.WrappingWriteLookupRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteAuditDevice(ctx context.Context, path string, request schema.WriteAuditDeviceRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteAuthMethod(ctx context.Context, path string, request schema.WriteAuthMethodRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteAuthMethodTune(ctx context.Context, path string, request schema.WriteAuthMethodTuneRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteCapabilities(ctx context.Context, request schema.WriteCapabilitiesRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteCapabilitiesAccessor(ctx context.Context, request schema.WriteCapabilitiesAccessorRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteCapabilitiesSelf(ctx context.Context, request schema.WriteCapabilitiesSelfRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteConfigAuditingRequestHeader(ctx context.Context, header string, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteConfigCORS(ctx context.Context, request schema.WriteConfigCORSRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteConfigReloadSubsystem(ctx context.Context, subsystem string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) WriteConfigUIHeader(ctx context.Context, header string, request schema.WriteConfigUIHeaderRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteGenerateRoot(ctx context.Context, request schema.WriteGenerateRootRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteGenerateRootAttempt(ctx context.Context, request schema.WriteGenerateRootAttemptRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteGenerateRootUpdate(ctx context.Context, request schema.WriteGenerateRootUpdateRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteInit(ctx context.Context, request schema.WriteInitRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) WriteInternalCountersConfig(ctx context.Context, request schema.WriteInternalCountersConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteLeasesLookup(ctx context.Context, request schema.WriteLeasesLookupRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteLeasesRenew(ctx context.Context, request schema.WriteLeasesRenewRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteLeasesRenew2(ctx context.Context, urlLeaseId string, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteLeasesRevoke(ctx context.Context, request schema.WriteLeasesRevokeRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteLeasesRevoke2(ctx context.Context, urlLeaseId string, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteLeasesRevokeForce(ctx context.Context, prefix string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) WriteLeasesRevokePrefix(ctx context.Context, prefix string, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteLeasesTidy(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) WriteLogger(ctx context.Context, name string, request schema.WriteLoggerRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteLoggers(ctx context.Context, request schema.WriteLoggersRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteMount(ctx context.Context, path string, request schema.WriteMountRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteMountsConfig(ctx context.Context, path string, request schema.WriteMountsConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WritePluginsCatalogByTypeByName(ctx context.Context, name string, type_ string, ...) (*Response[map[string]interface{}], error)
- func (s *System) WritePluginsReloadBackend(ctx context.Context, request schema.WritePluginsReloadBackendRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WritePoliciesACL(ctx context.Context, name string, request schema.WritePoliciesACLRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WritePoliciesPassword(ctx context.Context, name string, request schema.WritePoliciesPasswordRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WritePolicy(ctx context.Context, name string, request schema.WritePolicyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteQuotasConfig(ctx context.Context, request schema.WriteQuotasConfigRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteQuotasRateLimit(ctx context.Context, name string, request schema.WriteQuotasRateLimitRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteRaw(ctx context.Context, request schema.WriteRawRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) WriteRawPath(ctx context.Context, path string, request schema.WriteRawPathRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteRekeyInit(ctx context.Context, request schema.WriteRekeyInitRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteRekeyUpdate(ctx context.Context, request schema.WriteRekeyUpdateRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteRekeyVerify(ctx context.Context, request schema.WriteRekeyVerifyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) WriteRotateConfig(ctx context.Context, request schema.WriteRotateConfigRequest, ...) (*Response[map[string]interface{}], error)
- type TLSConfiguration
Constants ¶
const ClientVersion = "0.1.0-beta"
Variables ¶
This section is empty.
Functions ¶
func DefaultRetryPolicy ¶
DefaultRetryPolicy provides a default callback for RetryConfiguration.CheckRetry. In addition to retryablehttp.DefaultRetryPolicy, it retries on 412 responses, which are returned by Vault when a X-Vault-Index header isn't satisfied.
func IsErrorStatus ¶
IsErrorStatus returns true if the given error is either a ResponseError or a RedirectError with the given status code.
func MergeReplicationStates ¶
MergeReplicationStates returns a merged array of replication states by iterating through all states in the `old` slice. An iterated state is merged into the result before the `new` based on the result of compareReplicationStates
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
Auth is a simple wrapper around the client for Auth requests
func (*Auth) AWSConfigDeleteCertificate ¶
func (a *Auth) AWSConfigDeleteCertificate(ctx context.Context, certName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigDeleteCertificate certName: Name of the certificate.
func (*Auth) AWSConfigDeleteClient ¶
func (a *Auth) AWSConfigDeleteClient(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigDeleteClient
func (*Auth) AWSConfigDeleteIdentityAccessList ¶
func (a *Auth) AWSConfigDeleteIdentityAccessList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigDeleteIdentityAccessList
func (*Auth) AWSConfigDeleteIdentityWhiteList ¶
func (a *Auth) AWSConfigDeleteIdentityWhiteList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigDeleteIdentityWhiteList
func (*Auth) AWSConfigDeleteRoleTagBlackList ¶
func (a *Auth) AWSConfigDeleteRoleTagBlackList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigDeleteRoleTagBlackList
func (*Auth) AWSConfigDeleteRoleTagDenyList ¶
func (a *Auth) AWSConfigDeleteRoleTagDenyList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigDeleteRoleTagDenyList
func (*Auth) AWSConfigDeleteSecurityTokenServiceAccount ¶
func (a *Auth) AWSConfigDeleteSecurityTokenServiceAccount(ctx context.Context, accountId string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigDeleteSecurityTokenServiceAccount accountId: AWS account ID to be associated with STS role. If set, Vault will use assumed credentials to verify any login attempts from EC2 instances in this account.
func (*Auth) AWSConfigListCertificates ¶
func (a *Auth) AWSConfigListCertificates(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigListCertificates
func (*Auth) AWSConfigListSecurityTokenService ¶
func (a *Auth) AWSConfigListSecurityTokenService(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigListSecurityTokenService
func (*Auth) AWSConfigReadCertificate ¶
func (a *Auth) AWSConfigReadCertificate(ctx context.Context, certName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigReadCertificate certName: Name of the certificate.
func (*Auth) AWSConfigReadClient ¶
func (a *Auth) AWSConfigReadClient(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigReadClient
func (*Auth) AWSConfigReadIdentity ¶
func (a *Auth) AWSConfigReadIdentity(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigReadIdentity
func (*Auth) AWSConfigReadIdentityAccessList ¶
func (a *Auth) AWSConfigReadIdentityAccessList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigReadIdentityAccessList
func (*Auth) AWSConfigReadIdentityWhiteList ¶
func (a *Auth) AWSConfigReadIdentityWhiteList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigReadIdentityWhiteList
func (*Auth) AWSConfigReadRoleTagBlackList ¶
func (a *Auth) AWSConfigReadRoleTagBlackList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigReadRoleTagBlackList
func (*Auth) AWSConfigReadRoleTagDenyList ¶
func (a *Auth) AWSConfigReadRoleTagDenyList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigReadRoleTagDenyList
func (*Auth) AWSConfigReadSecurityTokenServiceAccount ¶
func (a *Auth) AWSConfigReadSecurityTokenServiceAccount(ctx context.Context, accountId string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigReadSecurityTokenServiceAccount accountId: AWS account ID to be associated with STS role. If set, Vault will use assumed credentials to verify any login attempts from EC2 instances in this account.
func (*Auth) AWSConfigRotateRoot ¶
func (a *Auth) AWSConfigRotateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigRotateRoot
func (*Auth) AWSConfigWriteCertificate ¶
func (a *Auth) AWSConfigWriteCertificate(ctx context.Context, certName string, request schema.AWSConfigWriteCertificateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigWriteCertificate certName: Name of the certificate.
func (*Auth) AWSConfigWriteClient ¶
func (a *Auth) AWSConfigWriteClient(ctx context.Context, request schema.AWSConfigWriteClientRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigWriteClient
func (*Auth) AWSConfigWriteIdentity ¶
func (a *Auth) AWSConfigWriteIdentity(ctx context.Context, request schema.AWSConfigWriteIdentityRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigWriteIdentity
func (*Auth) AWSConfigWriteIdentityAccessList ¶
func (a *Auth) AWSConfigWriteIdentityAccessList(ctx context.Context, request schema.AWSConfigWriteIdentityAccessListRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigWriteIdentityAccessList
func (*Auth) AWSConfigWriteIdentityWhiteList ¶
func (a *Auth) AWSConfigWriteIdentityWhiteList(ctx context.Context, request schema.AWSConfigWriteIdentityWhiteListRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigWriteIdentityWhiteList
func (*Auth) AWSConfigWriteRoleTagBlackList ¶
func (a *Auth) AWSConfigWriteRoleTagBlackList(ctx context.Context, request schema.AWSConfigWriteRoleTagBlackListRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigWriteRoleTagBlackList
func (*Auth) AWSConfigWriteRoleTagDenyList ¶
func (a *Auth) AWSConfigWriteRoleTagDenyList(ctx context.Context, request schema.AWSConfigWriteRoleTagDenyListRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigWriteRoleTagDenyList
func (*Auth) AWSConfigWriteSecurityTokenServiceAccount ¶
func (a *Auth) AWSConfigWriteSecurityTokenServiceAccount(ctx context.Context, accountId string, request schema.AWSConfigWriteSecurityTokenServiceAccountRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigWriteSecurityTokenServiceAccount accountId: AWS account ID to be associated with STS role. If set, Vault will use assumed credentials to verify any login attempts from EC2 instances in this account.
func (*Auth) AWSDeleteAuthRole ¶
func (a *Auth) AWSDeleteAuthRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSDeleteAuthRole role: Name of the role.
func (*Auth) AWSDeleteIdentityAccessListFor ¶
func (a *Auth) AWSDeleteIdentityAccessListFor(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSDeleteIdentityAccessListFor instanceId: EC2 instance ID. A successful login operation from an EC2 instance gets cached in this accesslist, keyed off of instance ID.
func (*Auth) AWSDeleteIdentityWhiteListFor ¶
func (a *Auth) AWSDeleteIdentityWhiteListFor(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSDeleteIdentityWhiteListFor instanceId: EC2 instance ID. A successful login operation from an EC2 instance gets cached in this accesslist, keyed off of instance ID.
func (*Auth) AWSDeleteRoleTagBlackListFor ¶
func (a *Auth) AWSDeleteRoleTagBlackListFor(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSDeleteRoleTagBlackListFor roleTag: Role tag to be deny listed. The tag can be supplied as-is. In order to avoid any encoding problems, it can be base64 encoded.
func (*Auth) AWSDeleteRoleTagDenyListFor ¶
func (a *Auth) AWSDeleteRoleTagDenyListFor(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSDeleteRoleTagDenyListFor roleTag: Role tag to be deny listed. The tag can be supplied as-is. In order to avoid any encoding problems, it can be base64 encoded.
func (*Auth) AWSListAuthRoles ¶
func (a *Auth) AWSListAuthRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSListAuthRoles
func (*Auth) AWSListAuthRoles2 ¶
func (a *Auth) AWSListAuthRoles2(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSListAuthRoles2
func (*Auth) AWSListIdentityAccessList ¶
func (a *Auth) AWSListIdentityAccessList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSListIdentityAccessList
func (*Auth) AWSListIdentityWhiteList ¶
func (a *Auth) AWSListIdentityWhiteList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSListIdentityWhiteList
func (*Auth) AWSListRoleTagBlackList ¶
func (a *Auth) AWSListRoleTagBlackList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSListRoleTagBlackList
func (*Auth) AWSListRoleTagDenyList ¶
func (a *Auth) AWSListRoleTagDenyList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSListRoleTagDenyList
func (*Auth) AWSLogin ¶
func (a *Auth) AWSLogin(ctx context.Context, request schema.AWSLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSLogin
func (*Auth) AWSReadAuthRole ¶
func (a *Auth) AWSReadAuthRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSReadAuthRole role: Name of the role.
func (*Auth) AWSReadIdentityAccessListFor ¶
func (a *Auth) AWSReadIdentityAccessListFor(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSReadIdentityAccessListFor instanceId: EC2 instance ID. A successful login operation from an EC2 instance gets cached in this accesslist, keyed off of instance ID.
func (*Auth) AWSReadIdentityWhiteListFor ¶
func (a *Auth) AWSReadIdentityWhiteListFor(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSReadIdentityWhiteListFor instanceId: EC2 instance ID. A successful login operation from an EC2 instance gets cached in this accesslist, keyed off of instance ID.
func (*Auth) AWSReadRoleTagBlackListFor ¶
func (a *Auth) AWSReadRoleTagBlackListFor(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSReadRoleTagBlackListFor roleTag: Role tag to be deny listed. The tag can be supplied as-is. In order to avoid any encoding problems, it can be base64 encoded.
func (*Auth) AWSReadRoleTagDenyListFor ¶
func (a *Auth) AWSReadRoleTagDenyListFor(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSReadRoleTagDenyListFor roleTag: Role tag to be deny listed. The tag can be supplied as-is. In order to avoid any encoding problems, it can be base64 encoded.
func (*Auth) AWSWriteAuthRole ¶
func (a *Auth) AWSWriteAuthRole(ctx context.Context, role string, request schema.AWSWriteAuthRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSWriteAuthRole role: Name of the role.
func (*Auth) AWSWriteAuthRoleTag ¶
func (a *Auth) AWSWriteAuthRoleTag(ctx context.Context, role string, request schema.AWSWriteAuthRoleTagRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSWriteAuthRoleTag role: Name of the role.
func (*Auth) AWSWriteIdentityAccessListTidySettings ¶
func (a *Auth) AWSWriteIdentityAccessListTidySettings(ctx context.Context, request schema.AWSWriteIdentityAccessListTidySettingsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSWriteIdentityAccessListTidySettings
func (*Auth) AWSWriteIdentityWhiteListTidySettings ¶
func (a *Auth) AWSWriteIdentityWhiteListTidySettings(ctx context.Context, request schema.AWSWriteIdentityWhiteListTidySettingsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSWriteIdentityWhiteListTidySettings
func (*Auth) AWSWriteRoleTagBlackListFor ¶
func (a *Auth) AWSWriteRoleTagBlackListFor(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSWriteRoleTagBlackListFor roleTag: Role tag to be deny listed. The tag can be supplied as-is. In order to avoid any encoding problems, it can be base64 encoded.
func (*Auth) AWSWriteRoleTagBlackListTidySettings ¶
func (a *Auth) AWSWriteRoleTagBlackListTidySettings(ctx context.Context, request schema.AWSWriteRoleTagBlackListTidySettingsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSWriteRoleTagBlackListTidySettings
func (*Auth) AWSWriteRoleTagDenyListFor ¶
func (a *Auth) AWSWriteRoleTagDenyListFor(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSWriteRoleTagDenyListFor roleTag: Role tag to be deny listed. The tag can be supplied as-is. In order to avoid any encoding problems, it can be base64 encoded.
func (*Auth) AWSWriteRoleTagDenyListTidySettings ¶
func (a *Auth) AWSWriteRoleTagDenyListTidySettings(ctx context.Context, request schema.AWSWriteRoleTagDenyListTidySettingsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSWriteRoleTagDenyListTidySettings
func (*Auth) AliCloudDeleteAuthRole ¶
func (a *Auth) AliCloudDeleteAuthRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudDeleteAuthRole Create a role and associate policies to it. role: The name of the role as it should appear in Vault.
func (*Auth) AliCloudListAuthRoles ¶
func (a *Auth) AliCloudListAuthRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudListAuthRoles Lists all the roles that are registered with Vault.
func (*Auth) AliCloudListAuthRoles2 ¶
func (a *Auth) AliCloudListAuthRoles2(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudListAuthRoles2 Lists all the roles that are registered with Vault.
func (*Auth) AliCloudLogin ¶
func (a *Auth) AliCloudLogin(ctx context.Context, request schema.AliCloudLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudLogin Authenticates an RAM entity with Vault.
func (*Auth) AliCloudReadAuthRole ¶
func (a *Auth) AliCloudReadAuthRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudReadAuthRole Create a role and associate policies to it. role: The name of the role as it should appear in Vault.
func (*Auth) AliCloudWriteAuthRole ¶
func (a *Auth) AliCloudWriteAuthRole(ctx context.Context, role string, request schema.AliCloudWriteAuthRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudWriteAuthRole Create a role and associate policies to it. role: The name of the role as it should appear in Vault.
func (*Auth) AppRoleDeleteBindSecretID ¶
func (a *Auth) AppRoleDeleteBindSecretID(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDeleteBindSecretID roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleDeleteBoundCIDRList ¶
func (a *Auth) AppRoleDeleteBoundCIDRList(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDeleteBoundCIDRList roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleDeletePeriod ¶
func (a *Auth) AppRoleDeletePeriod(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDeletePeriod roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleDeletePolicies ¶
func (a *Auth) AppRoleDeletePolicies(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDeletePolicies roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleDeleteRole ¶
func (a *Auth) AppRoleDeleteRole(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDeleteRole roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleDeleteSecretIDAccessorDestroy ¶
func (a *Auth) AppRoleDeleteSecretIDAccessorDestroy(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDeleteSecretIDAccessorDestroy roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleDeleteSecretIDBoundCIDRs ¶
func (a *Auth) AppRoleDeleteSecretIDBoundCIDRs(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDeleteSecretIDBoundCIDRs roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleDeleteSecretIDDestroy ¶
func (a *Auth) AppRoleDeleteSecretIDDestroy(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDeleteSecretIDDestroy roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleDeleteSecretIDNumUses ¶
func (a *Auth) AppRoleDeleteSecretIDNumUses(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDeleteSecretIDNumUses roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleDeleteSecretIDTTL ¶
func (a *Auth) AppRoleDeleteSecretIDTTL(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDeleteSecretIDTTL roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleDeleteTokenBoundCIDRs ¶
func (a *Auth) AppRoleDeleteTokenBoundCIDRs(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDeleteTokenBoundCIDRs roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleDeleteTokenMaxTTL ¶
func (a *Auth) AppRoleDeleteTokenMaxTTL(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDeleteTokenMaxTTL roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleDeleteTokenNumUses ¶
func (a *Auth) AppRoleDeleteTokenNumUses(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDeleteTokenNumUses roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleDeleteTokenTTL ¶
func (a *Auth) AppRoleDeleteTokenTTL(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDeleteTokenTTL roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleListRoles ¶
func (a *Auth) AppRoleListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.AppRoleListRolesResponse], error)
AppRoleListRoles
func (*Auth) AppRoleListSecretID ¶
func (a *Auth) AppRoleListSecretID(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleListSecretIDResponse], error)
AppRoleListSecretID roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleLogin ¶
func (a *Auth) AppRoleLogin(ctx context.Context, request schema.AppRoleLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleLogin
func (*Auth) AppRoleReadBindSecretID ¶
func (a *Auth) AppRoleReadBindSecretID(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadBindSecretIDResponse], error)
AppRoleReadBindSecretID roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleReadBoundCIDRList ¶
func (a *Auth) AppRoleReadBoundCIDRList(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadBoundCIDRListResponse], error)
AppRoleReadBoundCIDRList roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleReadLocalSecretIDs ¶
func (a *Auth) AppRoleReadLocalSecretIDs(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadLocalSecretIDsResponse], error)
AppRoleReadLocalSecretIDs roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleReadPeriod ¶
func (a *Auth) AppRoleReadPeriod(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadPeriodResponse], error)
AppRoleReadPeriod roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleReadPolicies ¶
func (a *Auth) AppRoleReadPolicies(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadPoliciesResponse], error)
AppRoleReadPolicies roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleReadRole ¶
func (a *Auth) AppRoleReadRole(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadRoleResponse], error)
AppRoleReadRole roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleReadRoleID ¶
func (a *Auth) AppRoleReadRoleID(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadRoleIDResponse], error)
AppRoleReadRoleID roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleReadSecretIDBoundCIDRs ¶
func (a *Auth) AppRoleReadSecretIDBoundCIDRs(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadSecretIDBoundCIDRsResponse], error)
AppRoleReadSecretIDBoundCIDRs roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleReadSecretIDNumUses ¶
func (a *Auth) AppRoleReadSecretIDNumUses(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadSecretIDNumUsesResponse], error)
AppRoleReadSecretIDNumUses roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleReadSecretIDTTL ¶
func (a *Auth) AppRoleReadSecretIDTTL(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadSecretIDTTLResponse], error)
AppRoleReadSecretIDTTL roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleReadTokenBoundCIDRs ¶
func (a *Auth) AppRoleReadTokenBoundCIDRs(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadTokenBoundCIDRsResponse], error)
AppRoleReadTokenBoundCIDRs roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleReadTokenMaxTTL ¶
func (a *Auth) AppRoleReadTokenMaxTTL(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadTokenMaxTTLResponse], error)
AppRoleReadTokenMaxTTL roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleReadTokenNumUses ¶
func (a *Auth) AppRoleReadTokenNumUses(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadTokenNumUsesResponse], error)
AppRoleReadTokenNumUses roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleReadTokenTTL ¶
func (a *Auth) AppRoleReadTokenTTL(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.AppRoleReadTokenTTLResponse], error)
AppRoleReadTokenTTL roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleTidySecretID ¶
func (a *Auth) AppRoleTidySecretID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleTidySecretID Trigger the clean-up of expired SecretID entries.
func (*Auth) AppRoleWriteBindSecretID ¶
func (a *Auth) AppRoleWriteBindSecretID(ctx context.Context, roleName string, request schema.AppRoleWriteBindSecretIDRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWriteBindSecretID roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteBoundCIDRList ¶
func (a *Auth) AppRoleWriteBoundCIDRList(ctx context.Context, roleName string, request schema.AppRoleWriteBoundCIDRListRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWriteBoundCIDRList roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteCustomSecretID ¶
func (a *Auth) AppRoleWriteCustomSecretID(ctx context.Context, roleName string, request schema.AppRoleWriteCustomSecretIDRequest, options ...RequestOption) (*Response[schema.AppRoleWriteCustomSecretIDResponse], error)
AppRoleWriteCustomSecretID roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWritePeriod ¶
func (a *Auth) AppRoleWritePeriod(ctx context.Context, roleName string, request schema.AppRoleWritePeriodRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWritePeriod roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWritePolicies ¶
func (a *Auth) AppRoleWritePolicies(ctx context.Context, roleName string, request schema.AppRoleWritePoliciesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWritePolicies roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteRole ¶
func (a *Auth) AppRoleWriteRole(ctx context.Context, roleName string, request schema.AppRoleWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWriteRole roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteRoleID ¶
func (a *Auth) AppRoleWriteRoleID(ctx context.Context, roleName string, request schema.AppRoleWriteRoleIDRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWriteRoleID roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteSecretID ¶
func (a *Auth) AppRoleWriteSecretID(ctx context.Context, roleName string, request schema.AppRoleWriteSecretIDRequest, options ...RequestOption) (*Response[schema.AppRoleWriteSecretIDResponse], error)
AppRoleWriteSecretID roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteSecretIDAccessorDestroy ¶
func (a *Auth) AppRoleWriteSecretIDAccessorDestroy(ctx context.Context, roleName string, request schema.AppRoleWriteSecretIDAccessorDestroyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWriteSecretIDAccessorDestroy roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteSecretIDAccessorLookup ¶
func (a *Auth) AppRoleWriteSecretIDAccessorLookup(ctx context.Context, roleName string, request schema.AppRoleWriteSecretIDAccessorLookupRequest, options ...RequestOption) (*Response[schema.AppRoleWriteSecretIDAccessorLookupResponse], error)
AppRoleWriteSecretIDAccessorLookup roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteSecretIDBoundCIDRs ¶
func (a *Auth) AppRoleWriteSecretIDBoundCIDRs(ctx context.Context, roleName string, request schema.AppRoleWriteSecretIDBoundCIDRsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWriteSecretIDBoundCIDRs roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteSecretIDDestroy ¶
func (a *Auth) AppRoleWriteSecretIDDestroy(ctx context.Context, roleName string, request schema.AppRoleWriteSecretIDDestroyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWriteSecretIDDestroy roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteSecretIDLookup ¶
func (a *Auth) AppRoleWriteSecretIDLookup(ctx context.Context, roleName string, request schema.AppRoleWriteSecretIDLookupRequest, options ...RequestOption) (*Response[schema.AppRoleWriteSecretIDLookupResponse], error)
AppRoleWriteSecretIDLookup roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteSecretIDNumUses ¶
func (a *Auth) AppRoleWriteSecretIDNumUses(ctx context.Context, roleName string, request schema.AppRoleWriteSecretIDNumUsesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWriteSecretIDNumUses roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteSecretIDTTL ¶
func (a *Auth) AppRoleWriteSecretIDTTL(ctx context.Context, roleName string, request schema.AppRoleWriteSecretIDTTLRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWriteSecretIDTTL roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteTokenBoundCIDRs ¶
func (a *Auth) AppRoleWriteTokenBoundCIDRs(ctx context.Context, roleName string, request schema.AppRoleWriteTokenBoundCIDRsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWriteTokenBoundCIDRs roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteTokenMaxTTL ¶
func (a *Auth) AppRoleWriteTokenMaxTTL(ctx context.Context, roleName string, request schema.AppRoleWriteTokenMaxTTLRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWriteTokenMaxTTL roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteTokenNumUses ¶
func (a *Auth) AppRoleWriteTokenNumUses(ctx context.Context, roleName string, request schema.AppRoleWriteTokenNumUsesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWriteTokenNumUses roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleWriteTokenTTL ¶
func (a *Auth) AppRoleWriteTokenTTL(ctx context.Context, roleName string, request schema.AppRoleWriteTokenTTLRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleWriteTokenTTL roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AzureDeleteAuthConfig ¶
func (a *Auth) AzureDeleteAuthConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureDeleteAuthConfig
func (*Auth) AzureDeleteAuthRole ¶
func (a *Auth) AzureDeleteAuthRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureDeleteAuthRole name: Name of the role.
func (*Auth) AzureListAuthRoles ¶
func (a *Auth) AzureListAuthRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureListAuthRoles
func (*Auth) AzureLogin ¶
func (a *Auth) AzureLogin(ctx context.Context, request schema.AzureLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureLogin
func (*Auth) AzureReadAuthConfig ¶
func (a *Auth) AzureReadAuthConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureReadAuthConfig
func (*Auth) AzureReadAuthRole ¶
func (a *Auth) AzureReadAuthRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureReadAuthRole name: Name of the role.
func (*Auth) AzureWriteAuthConfig ¶
func (a *Auth) AzureWriteAuthConfig(ctx context.Context, request schema.AzureWriteAuthConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureWriteAuthConfig
func (*Auth) AzureWriteAuthRole ¶
func (a *Auth) AzureWriteAuthRole(ctx context.Context, name string, request schema.AzureWriteAuthRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureWriteAuthRole name: Name of the role.
func (*Auth) CentrifyLogin ¶
func (a *Auth) CentrifyLogin(ctx context.Context, request schema.CentrifyLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CentrifyLogin Log in with a username and password.
func (*Auth) CentrifyReadConfig ¶
func (a *Auth) CentrifyReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
CentrifyReadConfig This path allows you to configure the centrify auth provider to interact with the Centrify Identity Services Platform for authenticating users.
func (*Auth) CentrifyWriteConfig ¶
func (a *Auth) CentrifyWriteConfig(ctx context.Context, request schema.CentrifyWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CentrifyWriteConfig This path allows you to configure the centrify auth provider to interact with the Centrify Identity Services Platform for authenticating users.
func (*Auth) CertificatesDelete ¶
func (a *Auth) CertificatesDelete(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
CertificatesDelete Manage trusted certificates used for authentication. name: The name of the certificate
func (*Auth) CertificatesDeleteCRL ¶
func (a *Auth) CertificatesDeleteCRL(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
CertificatesDeleteCRL Manage Certificate Revocation Lists checked during authentication. name: The name of the certificate
func (*Auth) CertificatesList ¶
func (a *Auth) CertificatesList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
CertificatesList Manage trusted certificates used for authentication.
func (*Auth) CertificatesListCRLs ¶
func (a *Auth) CertificatesListCRLs(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
CertificatesListCRLs
func (*Auth) CertificatesLogin ¶
func (a *Auth) CertificatesLogin(ctx context.Context, request schema.CertificatesLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CertificatesLogin
func (*Auth) CertificatesRead ¶
func (a *Auth) CertificatesRead(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
CertificatesRead Manage trusted certificates used for authentication. name: The name of the certificate
func (*Auth) CertificatesReadCRL ¶
func (a *Auth) CertificatesReadCRL(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
CertificatesReadCRL Manage Certificate Revocation Lists checked during authentication. name: The name of the certificate
func (*Auth) CertificatesReadConfig ¶
func (a *Auth) CertificatesReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
CertificatesReadConfig
func (*Auth) CertificatesWrite ¶
func (a *Auth) CertificatesWrite(ctx context.Context, name string, request schema.CertificatesWriteRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CertificatesWrite Manage trusted certificates used for authentication. name: The name of the certificate
func (*Auth) CertificatesWriteCRL ¶
func (a *Auth) CertificatesWriteCRL(ctx context.Context, name string, request schema.CertificatesWriteCRLRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CertificatesWriteCRL Manage Certificate Revocation Lists checked during authentication. name: The name of the certificate
func (*Auth) CertificatesWriteConfig ¶
func (a *Auth) CertificatesWriteConfig(ctx context.Context, request schema.CertificatesWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CertificatesWriteConfig
func (*Auth) CloudFoundryDeleteConfig ¶
func (a *Auth) CloudFoundryDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
CloudFoundryDeleteConfig
func (*Auth) CloudFoundryDeleteRole ¶
func (a *Auth) CloudFoundryDeleteRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
CloudFoundryDeleteRole role: The name of the role.
func (*Auth) CloudFoundryListRoles ¶
func (a *Auth) CloudFoundryListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
CloudFoundryListRoles
func (*Auth) CloudFoundryLogin ¶
func (a *Auth) CloudFoundryLogin(ctx context.Context, request schema.CloudFoundryLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CloudFoundryLogin
func (*Auth) CloudFoundryReadConfig ¶
func (a *Auth) CloudFoundryReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
CloudFoundryReadConfig
func (*Auth) CloudFoundryReadRole ¶
func (a *Auth) CloudFoundryReadRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
CloudFoundryReadRole role: The name of the role.
func (*Auth) CloudFoundryWriteConfig ¶
func (a *Auth) CloudFoundryWriteConfig(ctx context.Context, request schema.CloudFoundryWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CloudFoundryWriteConfig
func (*Auth) CloudFoundryWriteRole ¶
func (a *Auth) CloudFoundryWriteRole(ctx context.Context, role string, request schema.CloudFoundryWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CloudFoundryWriteRole role: The name of the role.
func (*Auth) GitHubDeleteMapTeam ¶
func (a *Auth) GitHubDeleteMapTeam(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GitHubDeleteMapTeam Read/write/delete a single teams mapping key: Key for the teams mapping
func (*Auth) GitHubDeleteMapUser ¶
func (a *Auth) GitHubDeleteMapUser(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GitHubDeleteMapUser Read/write/delete a single users mapping key: Key for the users mapping
func (*Auth) GitHubLogin ¶
func (a *Auth) GitHubLogin(ctx context.Context, request schema.GitHubLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GitHubLogin
func (*Auth) GitHubReadConfig ¶
func (a *Auth) GitHubReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GitHubReadConfig
func (*Auth) GitHubReadMapTeam ¶
func (a *Auth) GitHubReadMapTeam(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GitHubReadMapTeam Read/write/delete a single teams mapping key: Key for the teams mapping
func (*Auth) GitHubReadMapTeams ¶
func (a *Auth) GitHubReadMapTeams(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GitHubReadMapTeams Read mappings for teams
func (*Auth) GitHubReadMapUser ¶
func (a *Auth) GitHubReadMapUser(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GitHubReadMapUser Read/write/delete a single users mapping key: Key for the users mapping
func (*Auth) GitHubReadMapUsers ¶
func (a *Auth) GitHubReadMapUsers(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GitHubReadMapUsers Read mappings for users
func (*Auth) GitHubWriteConfig ¶
func (a *Auth) GitHubWriteConfig(ctx context.Context, request schema.GitHubWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GitHubWriteConfig
func (*Auth) GitHubWriteMapTeam ¶
func (a *Auth) GitHubWriteMapTeam(ctx context.Context, key string, request schema.GitHubWriteMapTeamRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GitHubWriteMapTeam Read/write/delete a single teams mapping key: Key for the teams mapping
func (*Auth) GitHubWriteMapUser ¶
func (a *Auth) GitHubWriteMapUser(ctx context.Context, key string, request schema.GitHubWriteMapUserRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GitHubWriteMapUser Read/write/delete a single users mapping key: Key for the users mapping
func (*Auth) GoogleCloudDeleteRole ¶
func (a *Auth) GoogleCloudDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudDeleteRole Create a GCP role with associated policies and required attributes. name: Name of the role.
func (*Auth) GoogleCloudListRoles ¶
func (a *Auth) GoogleCloudListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudListRoles Lists all the roles that are registered with Vault.
func (*Auth) GoogleCloudListRoles2 ¶
func (a *Auth) GoogleCloudListRoles2(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudListRoles2 Lists all the roles that are registered with Vault.
func (*Auth) GoogleCloudLogin ¶
func (a *Auth) GoogleCloudLogin(ctx context.Context, request schema.GoogleCloudLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudLogin
func (*Auth) GoogleCloudReadAuthConfig ¶
func (a *Auth) GoogleCloudReadAuthConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudReadAuthConfig Configure credentials used to query the GCP IAM API to verify authenticating service accounts
func (*Auth) GoogleCloudReadRole ¶
func (a *Auth) GoogleCloudReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudReadRole Create a GCP role with associated policies and required attributes. name: Name of the role.
func (*Auth) GoogleCloudWriteAuthConfig ¶
func (a *Auth) GoogleCloudWriteAuthConfig(ctx context.Context, request schema.GoogleCloudWriteAuthConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudWriteAuthConfig Configure credentials used to query the GCP IAM API to verify authenticating service accounts
func (*Auth) GoogleCloudWriteRole ¶
func (a *Auth) GoogleCloudWriteRole(ctx context.Context, name string, request schema.GoogleCloudWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudWriteRole Create a GCP role with associated policies and required attributes. name: Name of the role.
func (*Auth) GoogleCloudWriteRoleLabels ¶
func (a *Auth) GoogleCloudWriteRoleLabels(ctx context.Context, name string, request schema.GoogleCloudWriteRoleLabelsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudWriteRoleLabels Add or remove labels for an existing 'gce' role name: Name of the role.
func (*Auth) GoogleCloudWriteRoleServiceAccounts ¶
func (a *Auth) GoogleCloudWriteRoleServiceAccounts(ctx context.Context, name string, request schema.GoogleCloudWriteRoleServiceAccountsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudWriteRoleServiceAccounts Add or remove service accounts for an existing `iam` role name: Name of the role.
func (*Auth) JWTDeleteRole ¶
func (a *Auth) JWTDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
JWTDeleteRole Delete an existing role. name: Name of the role.
func (*Auth) JWTListRoles ¶
func (a *Auth) JWTListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
JWTListRoles Lists all the roles registered with the backend. The list will contain the names of the roles.
func (*Auth) JWTLogin ¶
func (a *Auth) JWTLogin(ctx context.Context, request schema.JWTLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
JWTLogin Authenticates to Vault using a JWT (or OIDC) token.
func (*Auth) JWTReadConfig ¶
func (a *Auth) JWTReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
JWTReadConfig Read the current JWT authentication backend configuration.
func (*Auth) JWTReadOIDCCallback ¶
func (a *Auth) JWTReadOIDCCallback(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
JWTReadOIDCCallback Callback endpoint to complete an OIDC login.
func (*Auth) JWTReadRole ¶
func (a *Auth) JWTReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
JWTReadRole Read an existing role. name: Name of the role.
func (*Auth) JWTWriteConfig ¶
func (a *Auth) JWTWriteConfig(ctx context.Context, request schema.JWTWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
JWTWriteConfig Configure the JWT authentication backend. The JWT authentication backend validates JWTs (or OIDC) using the configured credentials. If using OIDC Discovery, the URL must be provided, along with (optionally) the CA cert to use for the connection. If performing JWT validation locally, a set of public keys must be provided.
func (*Auth) JWTWriteOIDCAuthURL ¶
func (a *Auth) JWTWriteOIDCAuthURL(ctx context.Context, request schema.JWTWriteOIDCAuthURLRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
JWTWriteOIDCAuthURL Request an authorization URL to start an OIDC login flow.
func (*Auth) JWTWriteOIDCCallback ¶
func (a *Auth) JWTWriteOIDCCallback(ctx context.Context, request schema.JWTWriteOIDCCallbackRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
JWTWriteOIDCCallback Callback endpoint to handle form_posts.
func (*Auth) JWTWriteRole ¶
func (a *Auth) JWTWriteRole(ctx context.Context, name string, request schema.JWTWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
JWTWriteRole Register an role with the backend. A role is required to authenticate with this backend. The role binds JWT token information with token policies and settings. The bindings, token polices and token settings can all be configured using this endpoint name: Name of the role.
func (*Auth) KerberosDeleteGroup ¶
func (a *Auth) KerberosDeleteGroup(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
KerberosDeleteGroup name: Name of the LDAP group.
func (*Auth) KerberosListGroups ¶
func (a *Auth) KerberosListGroups(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KerberosListGroups
func (*Auth) KerberosLogin ¶
func (a *Auth) KerberosLogin(ctx context.Context, request schema.KerberosLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KerberosLogin
func (*Auth) KerberosReadConfig ¶
func (a *Auth) KerberosReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KerberosReadConfig
func (*Auth) KerberosReadGroup ¶
func (a *Auth) KerberosReadGroup(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
KerberosReadGroup name: Name of the LDAP group.
func (*Auth) KerberosReadLDAPConfig ¶
func (a *Auth) KerberosReadLDAPConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KerberosReadLDAPConfig
func (*Auth) KerberosWriteConfig ¶
func (a *Auth) KerberosWriteConfig(ctx context.Context, request schema.KerberosWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KerberosWriteConfig
func (*Auth) KerberosWriteGroup ¶
func (a *Auth) KerberosWriteGroup(ctx context.Context, name string, request schema.KerberosWriteGroupRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KerberosWriteGroup name: Name of the LDAP group.
func (*Auth) KerberosWriteLDAPConfig ¶
func (a *Auth) KerberosWriteLDAPConfig(ctx context.Context, request schema.KerberosWriteLDAPConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KerberosWriteLDAPConfig
func (*Auth) KubernetesDeleteAuthRole ¶
func (a *Auth) KubernetesDeleteAuthRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesDeleteAuthRole Register an role with the backend. name: Name of the role.
func (*Auth) KubernetesListAuthRoles ¶
func (a *Auth) KubernetesListAuthRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesListAuthRoles Lists all the roles registered with the backend.
func (*Auth) KubernetesLogin ¶
func (a *Auth) KubernetesLogin(ctx context.Context, request schema.KubernetesLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesLogin Authenticates Kubernetes service accounts with Vault.
func (*Auth) KubernetesReadAuthConfig ¶
func (a *Auth) KubernetesReadAuthConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesReadAuthConfig Configures the JWT Public Key and Kubernetes API information.
func (*Auth) KubernetesReadAuthRole ¶
func (a *Auth) KubernetesReadAuthRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesReadAuthRole Register an role with the backend. name: Name of the role.
func (*Auth) KubernetesWriteAuthConfig ¶
func (a *Auth) KubernetesWriteAuthConfig(ctx context.Context, request schema.KubernetesWriteAuthConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesWriteAuthConfig Configures the JWT Public Key and Kubernetes API information.
func (*Auth) KubernetesWriteAuthRole ¶
func (a *Auth) KubernetesWriteAuthRole(ctx context.Context, name string, request schema.KubernetesWriteAuthRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesWriteAuthRole Register an role with the backend. name: Name of the role.
func (*Auth) LDAPDeleteGroup ¶
func (a *Auth) LDAPDeleteGroup(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPDeleteGroup Manage additional groups for users allowed to authenticate. name: Name of the LDAP group.
func (*Auth) LDAPDeleteUser ¶
func (a *Auth) LDAPDeleteUser(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPDeleteUser Manage users allowed to authenticate. name: Name of the LDAP user.
func (*Auth) LDAPListGroups ¶
func (a *Auth) LDAPListGroups(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPListGroups Manage additional groups for users allowed to authenticate.
func (*Auth) LDAPListUsers ¶
func (a *Auth) LDAPListUsers(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPListUsers Manage users allowed to authenticate.
func (*Auth) LDAPLogin ¶
func (a *Auth) LDAPLogin(ctx context.Context, username string, request schema.LDAPLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPLogin Log in with a username and password. username: DN (distinguished name) to be used for login.
func (*Auth) LDAPReadAuthConfig ¶
func (a *Auth) LDAPReadAuthConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPReadAuthConfig Configure the LDAP server to connect to, along with its options.
func (*Auth) LDAPReadGroup ¶
func (a *Auth) LDAPReadGroup(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPReadGroup Manage additional groups for users allowed to authenticate. name: Name of the LDAP group.
func (*Auth) LDAPReadUser ¶
func (a *Auth) LDAPReadUser(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPReadUser Manage users allowed to authenticate. name: Name of the LDAP user.
func (*Auth) LDAPWriteAuthConfig ¶
func (a *Auth) LDAPWriteAuthConfig(ctx context.Context, request schema.LDAPWriteAuthConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPWriteAuthConfig Configure the LDAP server to connect to, along with its options.
func (*Auth) LDAPWriteGroup ¶
func (a *Auth) LDAPWriteGroup(ctx context.Context, name string, request schema.LDAPWriteGroupRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPWriteGroup Manage additional groups for users allowed to authenticate. name: Name of the LDAP group.
func (*Auth) LDAPWriteUser ¶
func (a *Auth) LDAPWriteUser(ctx context.Context, name string, request schema.LDAPWriteUserRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPWriteUser Manage users allowed to authenticate. name: Name of the LDAP user.
func (*Auth) OCIDeleteConfig ¶
func (a *Auth) OCIDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OCIDeleteConfig Manages the configuration for the Vault Auth Plugin.
func (*Auth) OCIDeleteRole ¶
func (a *Auth) OCIDeleteRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
OCIDeleteRole Create a role and associate policies to it. role: Name of the role.
func (*Auth) OCIListRoles ¶
func (a *Auth) OCIListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OCIListRoles Lists all the roles that are registered with Vault.
func (*Auth) OCILoginWithRole ¶
func (a *Auth) OCILoginWithRole(ctx context.Context, role string, request schema.OCILoginWithRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OCILoginWithRole Authenticates to Vault using OCI credentials role: Name of the role.
func (*Auth) OCIReadConfig ¶
func (a *Auth) OCIReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OCIReadConfig Manages the configuration for the Vault Auth Plugin.
func (*Auth) OCIReadRole ¶
func (a *Auth) OCIReadRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
OCIReadRole Create a role and associate policies to it. role: Name of the role.
func (*Auth) OCIWriteConfig ¶
func (a *Auth) OCIWriteConfig(ctx context.Context, request schema.OCIWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OCIWriteConfig Manages the configuration for the Vault Auth Plugin.
func (*Auth) OCIWriteRole ¶
func (a *Auth) OCIWriteRole(ctx context.Context, role string, request schema.OCIWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OCIWriteRole Create a role and associate policies to it. role: Name of the role.
func (*Auth) OIDCDeleteAuthRole ¶
func (a *Auth) OIDCDeleteAuthRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCDeleteAuthRole Delete an existing role. name: Name of the role.
func (*Auth) OIDCListAuthRoles ¶
func (a *Auth) OIDCListAuthRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCListAuthRoles Lists all the roles registered with the backend. The list will contain the names of the roles.
func (*Auth) OIDCLogin ¶
func (a *Auth) OIDCLogin(ctx context.Context, request schema.OIDCLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCLogin Authenticates to Vault using a JWT (or OIDC) token.
func (*Auth) OIDCReadAuthConfig ¶
func (a *Auth) OIDCReadAuthConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadAuthConfig Read the current JWT authentication backend configuration.
func (*Auth) OIDCReadAuthRole ¶
func (a *Auth) OIDCReadAuthRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadAuthRole Read an existing role. name: Name of the role.
func (*Auth) OIDCReadCallback ¶
func (a *Auth) OIDCReadCallback(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadCallback Callback endpoint to complete an OIDC login.
func (*Auth) OIDCWriteAuthConfig ¶
func (a *Auth) OIDCWriteAuthConfig(ctx context.Context, request schema.OIDCWriteAuthConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCWriteAuthConfig Configure the JWT authentication backend. The JWT authentication backend validates JWTs (or OIDC) using the configured credentials. If using OIDC Discovery, the URL must be provided, along with (optionally) the CA cert to use for the connection. If performing JWT validation locally, a set of public keys must be provided.
func (*Auth) OIDCWriteAuthRole ¶
func (a *Auth) OIDCWriteAuthRole(ctx context.Context, name string, request schema.OIDCWriteAuthRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCWriteAuthRole Register an role with the backend. A role is required to authenticate with this backend. The role binds JWT token information with token policies and settings. The bindings, token polices and token settings can all be configured using this endpoint name: Name of the role.
func (*Auth) OIDCWriteAuthURL ¶
func (a *Auth) OIDCWriteAuthURL(ctx context.Context, request schema.OIDCWriteAuthURLRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCWriteAuthURL Request an authorization URL to start an OIDC login flow.
func (*Auth) OIDCWriteCallback ¶
func (a *Auth) OIDCWriteCallback(ctx context.Context, request schema.OIDCWriteCallbackRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCWriteCallback Callback endpoint to handle form_posts.
func (*Auth) OktaDeleteGroup ¶
func (a *Auth) OktaDeleteGroup(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OktaDeleteGroup Manage users allowed to authenticate. name: Name of the Okta group.
func (*Auth) OktaDeleteUser ¶
func (a *Auth) OktaDeleteUser(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OktaDeleteUser Manage additional groups for users allowed to authenticate. name: Name of the user.
func (*Auth) OktaListGroups ¶
func (a *Auth) OktaListGroups(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OktaListGroups Manage users allowed to authenticate.
func (*Auth) OktaListUsers ¶
func (a *Auth) OktaListUsers(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OktaListUsers Manage additional groups for users allowed to authenticate.
func (*Auth) OktaLogin ¶
func (a *Auth) OktaLogin(ctx context.Context, username string, request schema.OktaLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OktaLogin Log in with a username and password. username: Username to be used for login.
func (*Auth) OktaReadConfig ¶
func (a *Auth) OktaReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OktaReadConfig This endpoint allows you to configure the Okta and its configuration options. The Okta organization are the characters at the front of the URL for Okta. Example https://ORG.okta.com
func (*Auth) OktaReadGroup ¶
func (a *Auth) OktaReadGroup(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OktaReadGroup Manage users allowed to authenticate. name: Name of the Okta group.
func (*Auth) OktaReadUser ¶
func (a *Auth) OktaReadUser(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OktaReadUser Manage additional groups for users allowed to authenticate. name: Name of the user.
func (*Auth) OktaVerify ¶
func (a *Auth) OktaVerify(ctx context.Context, nonce string, options ...RequestOption) (*Response[map[string]interface{}], error)
OktaVerify nonce: Nonce provided during a login request to retrieve the number verification challenge for the matching request.
func (*Auth) OktaWriteConfig ¶
func (a *Auth) OktaWriteConfig(ctx context.Context, request schema.OktaWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OktaWriteConfig This endpoint allows you to configure the Okta and its configuration options. The Okta organization are the characters at the front of the URL for Okta. Example https://ORG.okta.com
func (*Auth) OktaWriteGroup ¶
func (a *Auth) OktaWriteGroup(ctx context.Context, name string, request schema.OktaWriteGroupRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OktaWriteGroup Manage users allowed to authenticate. name: Name of the Okta group.
func (*Auth) OktaWriteUser ¶
func (a *Auth) OktaWriteUser(ctx context.Context, name string, request schema.OktaWriteUserRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OktaWriteUser Manage additional groups for users allowed to authenticate. name: Name of the user.
func (*Auth) RadiusDeleteUser ¶
func (a *Auth) RadiusDeleteUser(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
RadiusDeleteUser Manage users allowed to authenticate. name: Name of the RADIUS user.
func (*Auth) RadiusListUsers ¶
func (a *Auth) RadiusListUsers(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
RadiusListUsers Manage users allowed to authenticate.
func (*Auth) RadiusLogin ¶
func (a *Auth) RadiusLogin(ctx context.Context, request schema.RadiusLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RadiusLogin Log in with a username and password.
func (*Auth) RadiusLoginWithUsername ¶
func (a *Auth) RadiusLoginWithUsername(ctx context.Context, urlusername string, request schema.RadiusLoginWithUsernameRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RadiusLoginWithUsername Log in with a username and password. urlusername: Username to be used for login. (URL parameter)
func (*Auth) RadiusReadConfig ¶
func (a *Auth) RadiusReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
RadiusReadConfig Configure the RADIUS server to connect to, along with its options.
func (*Auth) RadiusReadUser ¶
func (a *Auth) RadiusReadUser(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
RadiusReadUser Manage users allowed to authenticate. name: Name of the RADIUS user.
func (*Auth) RadiusWriteConfig ¶
func (a *Auth) RadiusWriteConfig(ctx context.Context, request schema.RadiusWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RadiusWriteConfig Configure the RADIUS server to connect to, along with its options.
func (*Auth) RadiusWriteUser ¶
func (a *Auth) RadiusWriteUser(ctx context.Context, name string, request schema.RadiusWriteUserRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RadiusWriteUser Manage users allowed to authenticate. name: Name of the RADIUS user.
func (*Auth) TokenDeleteRole ¶
func (a *Auth) TokenDeleteRole(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenDeleteRole roleName: Name of the role
func (*Auth) TokenListAccessors ¶
func (a *Auth) TokenListAccessors(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenListAccessors List token accessors, which can then be be used to iterate and discover their properties or revoke them. Because this can be used to cause a denial of service, this endpoint requires 'sudo' capability in addition to 'list'.
func (*Auth) TokenListRoles ¶
func (a *Auth) TokenListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenListRoles This endpoint lists configured roles.
func (*Auth) TokenReadLookup ¶
func (a *Auth) TokenReadLookup(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenReadLookup This endpoint will lookup a token and its properties.
func (*Auth) TokenReadLookupSelf ¶
func (a *Auth) TokenReadLookupSelf(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenReadLookupSelf This endpoint will lookup a token and its properties.
func (*Auth) TokenReadRole ¶
func (a *Auth) TokenReadRole(ctx context.Context, roleName string, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenReadRole roleName: Name of the role
func (*Auth) TokenRenew ¶
func (a *Auth) TokenRenew(ctx context.Context, request schema.TokenRenewRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenRenew This endpoint will renew the given token and prevent expiration.
func (*Auth) TokenRenewAccessor ¶
func (a *Auth) TokenRenewAccessor(ctx context.Context, request schema.TokenRenewAccessorRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenRenewAccessor This endpoint will renew a token associated with the given accessor and its properties. Response will not contain the token ID.
func (*Auth) TokenRenewSelf ¶
func (a *Auth) TokenRenewSelf(ctx context.Context, request schema.TokenRenewSelfRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenRenewSelf This endpoint will renew the token used to call it and prevent expiration.
func (*Auth) TokenRevoke ¶
func (a *Auth) TokenRevoke(ctx context.Context, request schema.TokenRevokeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenRevoke This endpoint will delete the given token and all of its child tokens.
func (*Auth) TokenRevokeAccessor ¶
func (a *Auth) TokenRevokeAccessor(ctx context.Context, request schema.TokenRevokeAccessorRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenRevokeAccessor This endpoint will delete the token associated with the accessor and all of its child tokens.
func (*Auth) TokenRevokeOrphan ¶
func (a *Auth) TokenRevokeOrphan(ctx context.Context, request schema.TokenRevokeOrphanRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenRevokeOrphan This endpoint will delete the token and orphan its child tokens.
func (*Auth) TokenRevokeSelf ¶
func (a *Auth) TokenRevokeSelf(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenRevokeSelf This endpoint will delete the token used to call it and all of its child tokens.
func (*Auth) TokenTidy ¶
func (a *Auth) TokenTidy(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenTidy This endpoint performs cleanup tasks that can be run if certain error conditions have occurred.
func (*Auth) TokenWriteCreate ¶
func (a *Auth) TokenWriteCreate(ctx context.Context, request schema.TokenWriteCreateRequest, format string, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenWriteCreate The token create path is used to create new tokens. format: Return json formatted output
func (*Auth) TokenWriteCreateOrphan ¶
func (a *Auth) TokenWriteCreateOrphan(ctx context.Context, request schema.TokenWriteCreateOrphanRequest, format string, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenWriteCreateOrphan The token create path is used to create new orphan tokens. format: Return json formatted output
func (*Auth) TokenWriteCreateWithRole ¶
func (a *Auth) TokenWriteCreateWithRole(ctx context.Context, roleName string, request schema.TokenWriteCreateWithRoleRequest, format string, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenWriteCreateWithRole This token create path is used to create new tokens adhering to the given role. roleName: Name of the role format: Return json formatted output
func (*Auth) TokenWriteLookup ¶
func (a *Auth) TokenWriteLookup(ctx context.Context, request schema.TokenWriteLookupRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenWriteLookup This endpoint will lookup a token and its properties.
func (*Auth) TokenWriteLookupAccessor ¶
func (a *Auth) TokenWriteLookupAccessor(ctx context.Context, request schema.TokenWriteLookupAccessorRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenWriteLookupAccessor This endpoint will lookup a token associated with the given accessor and its properties. Response will not contain the token ID.
func (*Auth) TokenWriteLookupSelf ¶
func (a *Auth) TokenWriteLookupSelf(ctx context.Context, request schema.TokenWriteLookupSelfRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenWriteLookupSelf This endpoint will lookup a token and its properties.
func (*Auth) TokenWriteRole ¶
func (a *Auth) TokenWriteRole(ctx context.Context, roleName string, request schema.TokenWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenWriteRole roleName: Name of the role
func (*Auth) UserpassDeleteUser ¶
func (a *Auth) UserpassDeleteUser(ctx context.Context, username string, options ...RequestOption) (*Response[map[string]interface{}], error)
UserpassDeleteUser Manage users allowed to authenticate. username: Username for this user.
func (*Auth) UserpassListUsers ¶
func (a *Auth) UserpassListUsers(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
UserpassListUsers Manage users allowed to authenticate.
func (*Auth) UserpassLogin ¶
func (a *Auth) UserpassLogin(ctx context.Context, username string, request schema.UserpassLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
UserpassLogin Log in with a username and password. username: Username of the user.
func (*Auth) UserpassReadUser ¶
func (a *Auth) UserpassReadUser(ctx context.Context, username string, options ...RequestOption) (*Response[map[string]interface{}], error)
UserpassReadUser Manage users allowed to authenticate. username: Username for this user.
func (*Auth) UserpassWriteUser ¶
func (a *Auth) UserpassWriteUser(ctx context.Context, username string, request schema.UserpassWriteUserRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
UserpassWriteUser Manage users allowed to authenticate. username: Username for this user.
func (*Auth) UserpassWriteUserPassword ¶
func (a *Auth) UserpassWriteUserPassword(ctx context.Context, username string, request schema.UserpassWriteUserPasswordRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
UserpassWriteUserPassword Reset user's password. username: Username for this user.
func (*Auth) UserpassWriteUserPolicies ¶
func (a *Auth) UserpassWriteUserPolicies(ctx context.Context, username string, request schema.UserpassWriteUserPoliciesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
UserpassWriteUserPolicies Update the policies associated with the username. username: Username for this user.
type Client ¶
type Client struct { // generated request methods Auth Auth Identity Identity Secrets Secrets System System // contains filtered or unexported fields }
Client manages communication with Vault, initialize it with vault.New(...)
func New ¶
func New(options ...ClientOption) (*Client, error)
New returns a new client decorated with the given configuration options
func (*Client) ClearCustomHeaders ¶
func (c *Client) ClearCustomHeaders()
ClearsCustomHeaders clears all custom headers from the subsequent requests.
func (*Client) ClearMFACredentials ¶
func (c *Client) ClearMFACredentials()
ClearMFACredentials clears multi-factor authentication credentials from all subsequent requests.
See https://learn.hashicorp.com/tutorials/vault/multi-factor-authentication for more information on multi-factor authentication.
func (*Client) ClearNamespace ¶
func (c *Client) ClearNamespace()
ClearNamespace clears the namespace from all subsequent requests.
See https://developer.hashicorp.com/vault/docs/enterprise/namespaces for more info on namespaces.
func (*Client) ClearReplicationForwardingMode ¶
func (c *Client) ClearReplicationForwardingMode()
ReplicationForwardingMode clears the X-Vault-Forward / X-Vault-Inconsistent headers from all subsequent requests.
See https://developer.hashicorp.com/vault/docs/enterprise/consistency#vault-1-7-mitigations
func (*Client) ClearRequestCallbacks ¶
func (c *Client) ClearRequestCallbacks()
ClearRequestCallbacks clears all request callbacks.
func (*Client) ClearResponseCallbacks ¶
func (c *Client) ClearResponseCallbacks()
ClearResponseCallbacks clears all response callbacks.
func (*Client) ClearResponseWrapping ¶
func (c *Client) ClearResponseWrapping()
ClearResponseWrapping clears the response-wrapping header from all subsequent requests.
See https://developer.hashicorp.com/vault/docs/concepts/response-wrapping for more information on response wrapping.
func (*Client) ClearToken ¶
func (c *Client) ClearToken()
ClearToken clears the token for all subsequent requests.
See https://developer.hashicorp.com/vault/docs/concepts/tokens for more info on tokens.
func (*Client) Clone ¶
Clone creates a new client with the same configuration, request modifiers, and replication states as the original client. Note that the cloned client will point to the same base http.Client and retryablehttp.Client objects.
func (*Client) Configuration ¶
func (c *Client) Configuration() ClientConfiguration
Configuration returns a copy of the configuration object used to initialize this client
func (*Client) Delete ¶
func (c *Client) Delete(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
Delete attempts to permanently delete the value stored at the given Vault path.
func (*Client) DeleteWithParameters ¶
func (c *Client) DeleteWithParameters(ctx context.Context, path string, parameters url.Values, options ...RequestOption) (*Response[map[string]interface{}], error)
Delete attempts to permanently delete the value stored at the given Vault path, adding the given query parameters to the request.
func (*Client) List ¶
func (c *Client) List(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
List attempts to list the keys stored at the given Vault path.
func (*Client) Read ¶
func (c *Client) Read(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
Read attempts to read the stored at the given Vault path.
func (*Client) ReadRaw ¶
func (c *Client) ReadRaw(ctx context.Context, path string, options ...RequestOption) (*http.Response, error)
ReadRaw attempts to read the value stored at the given Vault path and returns a raw *http.Response. Compared to Read, this function:
- does not parse the response
- does not check the response for errors
- does not apply the client-level request timeout
func (*Client) ReadRawWithParameters ¶
func (c *Client) ReadRawWithParameters(ctx context.Context, path string, parameters url.Values, options ...RequestOption) (*http.Response, error)
ReadRawWithParameters attempts to read the value stored at the given Vault path (adding the given query parameters to the request) and returns a raw *http.Response. Compared to ReadRawWithParameters, this function:
- does not parse the response
- does not check the response for errors
- does not apply the client-level request timeout
func (*Client) ReadWithParameters ¶
func (c *Client) ReadWithParameters(ctx context.Context, path string, parameters url.Values, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadWithParameters attempts to read the value stored at the given Vault path, adding the given query parameters to the request.
func (*Client) SetCustomHeaders ¶
SetCustomHeaders sets custom headers to be used in all subsequent requests. The internal prefix 'X-Vault-' is not permitted for the header keys.
func (*Client) SetMFACredentials ¶
SetMFACredentials sets multi-factor authentication credentials to be used with all subsequent requests.
See https://learn.hashicorp.com/tutorials/vault/multi-factor-authentication for more information on multi-factor authentication.
func (*Client) SetNamespace ¶
SetNamespace sets the namespace to be used with all subsequent requests. Use an empty string to clear the namespace.
See https://developer.hashicorp.com/vault/docs/enterprise/namespaces for more info on namespaces.
func (*Client) SetReplicationForwardingMode ¶
func (c *Client) SetReplicationForwardingMode(mode ReplicationForwardingMode)
SetReplicationForwardingMode sets a replication forwarding header for all subsequent requests:
ReplicationForwardNone - no forwarding header ReplicationForwardAlways - 'X-Vault-Forward' ReplicationForwardInconsistent - 'X-Vault-Inconsistent'
Note: this feature must be enabled in Vault's configuration.
See https://developer.hashicorp.com/vault/docs/enterprise/consistency#vault-1-7-mitigations
func (*Client) SetRequestCallbacks ¶
func (c *Client) SetRequestCallbacks(callbacks ...RequestCallback) error
SetRequestCallbacks sets callbacks which will be invoked before each request.
func (*Client) SetResponseCallbacks ¶
func (c *Client) SetResponseCallbacks(callbacks ...ResponseCallback) error
SetResponseCallbacks sets callbacks which will be invoked after each successful response.
func (*Client) SetResponseWrapping ¶
SetResponseWrapping sets the response-wrapping TTL to the given duration for all subsequent requests, telling Vault to wrap responses and return response-wrapping tokens instead.
See https://developer.hashicorp.com/vault/docs/concepts/response-wrapping for more information on response wrapping.
func (*Client) SetToken ¶
SetToken sets the token to be used with all subsequent requests.
See https://developer.hashicorp.com/vault/docs/concepts/tokens for more info on tokens.
func (*Client) Write ¶
func (c *Client) Write(ctx context.Context, path string, body map[string]interface{}, options ...RequestOption) (*Response[map[string]interface{}], error)
Write attempts to write the given map to the given Vault path.
type ClientCertificateEntry ¶
type ClientConfiguration ¶
type ClientConfiguration struct { // Address specifies the Vault server's base address in the form of // scheme://host:port // Default: https://127.0.0.1:8200 Address string `env:"VAULT_ADDR,VAULT_AGENT_ADDR"` // HTTPClient is the HTTP client to use for all API requests. // DefaultConfiguration() sets reasonable defaults for the HTTPClient and // its associated http.Transport. If you must modify Vault's defaults, it // is suggested that you start with that client and modify it as needed // rather than starting with an empty client or http.DefaultClient. HTTPClient *http.Client // RequestTimeout, given a non-negative value, will apply the timeout to // each request function unless an earlier deadline is passed to the // request function through context.Context. Note that this timeout is // not applicable to client.ReadRaw or client.ReadRawWithParameters. // Default: 60s RequestTimeout time.Duration `env:"VAULT_CLIENT_TIMEOUT"` // TLS is a collection of TLS settings used to configure the internal // http.Client. TLS TLSConfiguration // RetryConfiguration is a collection of settings used to configure the // internal go-retryablehttp client. RetryConfiguration RetryConfiguration // RateLimiter controls how frequently requests are allowed to happen. // If this pointer is nil, then there will be no limit set. Note that an // empty struct rate.Limiter is equivalent to blocking all requests. // Default: nil RateLimiter *rate.Limiter `env:"VAULT_RATE_LIMIT"` // EnforceReadYourWritesConsistency ensures isolated read-after-write // semantics by providing discovered cluster replication states in each // request. // // Background: when running in a cluster, Vault has an eventual consistency // model. Only one node (the leader) can write to Vault's storage. Users // generally expect read-after-write consistency: in other words, after // writing foo=1, a subsequent read of foo should return 1. // // Setting this to true will enable "Conditional Forwarding" as described in // https://developer.hashicorp.com/vault/docs/enterprise/consistency#vault-1-7-mitigations // // Note: careful consideration should be made prior to enabling this setting // since there will be a performance penalty paid upon each request. // This feature requires enterprise server-side. EnforceReadYourWritesConsistency bool // EnableSRVLookup enables the client to look up the Vault server host // through DNS SRV lookup. The lookup will happen on each request. The base // address' port must be empty for this setting to be respected. // // Note: this feature is not designed for high availability, just // discovery. // // See https://datatracker.ietf.org/doc/html/draft-andrews-http-srv-02 // for more information EnableSRVLookup bool `env:"VAULT_SRV_LOOKUP"` // DisableRedirects prevents the client from automatically following // redirects. Any redirect responses will result in `RedirectError` instead. // // Background: by default, the client follows a single redirect; disabling // redirects could cause issues with certain requests, e.g. raft-related // calls will fail to redirect to the primary node. DisableRedirects bool `env:"VAULT_DISABLE_REDIRECTS"` // contains filtered or unexported fields }
ClientConfiguration is used to configure the creation of the client
func DefaultConfiguration ¶
func DefaultConfiguration() ClientConfiguration
DefaultConfiguration returns the default configuration for the client. It is recommended to start with this configuration and modify it as needed.
type ClientOption ¶
type ClientOption func(*ClientConfiguration) error
ClientOption is a configuration option to initialize a client.
func WithAddress ¶ added in v0.2.0
func WithAddress(address string) ClientOption
WithAddress specifies the Vault server base address in the form of scheme://host:port
Default: https://127.0.0.1:8200
func WithConfiguration ¶
func WithConfiguration(configuration ClientConfiguration) ClientOption
WithConfiguration overwrites the default configuration object with the given one. It is recommended to start with DefaultConfiguration() and modify it as necessary. If only an individual configuration field needs to be modified, consider using other ClientOption functions.
func WithDisableRedirects ¶
func WithDisableRedirects() ClientOption
WithDisableRedirects prevents the client from automatically following redirects. Any redirect responses will result in `RedirectError` instead.
Background: by default, the client follows a single redirect; disabling redirects could cause issues with certain requests, e.g. raft-related calls will fail to redirect to the primary node.
func WithEnableSRVLookup ¶
func WithEnableSRVLookup() ClientOption
WithEnableSRVLookup enables the client to look up the Vault server host through DNS SRV lookup. The lookup will happen on each request. The base address' port must be empty for this setting to be respected.
Note: this feature is not designed for high availability, just discovery.
See https://datatracker.ietf.org/doc/html/draft-andrews-http-srv-02 for more information
func WithEnforceReadYourWritesConsistency ¶
func WithEnforceReadYourWritesConsistency() ClientOption
WithEnforceReadYourWritesConsistency ensures isolated read-after-write semantics by providing discovered cluster replication states in each request.
Background: when running in a cluster, Vault has an eventual consistency model. Only one node (the leader) can write to Vault's storage. Users generally expect read-after-write consistency: in other words, after writing foo=1, a subsequent read of foo should return 1.
Setting this to true will enable "Conditional Forwarding" as described in https://developer.hashicorp.com/vault/docs/enterprise/consistency#vault-1-7-mitigations
Note: careful consideration should be made prior to enabling this setting since there will be a performance penalty paid upon each request. This feature requires enterprise server-side.
func WithEnvironment ¶
func WithEnvironment() ClientOption
WithEnvironment populates the client's configuration object with values from environment values. The following environment variables are currently supported:
VAULT_ADDR, VAULT_AGENT_ADDR (vault's address, e.g. https://127.0.0.1:8200/) VAULT_CLIENT_TIMEOUT (request timeout) VAULT_RATE_LIMIT (rate[:burst] in operations per second) VAULT_SRV_LOOKUP (enable DNS SRV lookup) VAULT_DISABLE_REDIRECTS (prevents vault client from following redirects) VAULT_TOKEN (the initial authentication token) VAULT_NAMESPACE (the initial namespace to use) VAULT_SKIP_VERIFY (do not veirfy vault's presented certificate) VAULT_CACERT (PEM-encoded CA certificate file path) VAULT_CACERT_BYTES (PEM-encoded CA certificate bytes) VAULT_CAPATH (PEM-encoded CA certificate directory path) VAULT_CLIENT_CERT (PEM-encoded client certificate file path) VAULT_CLIENT_KEY (PEM-encoded client certificate key file path) VAULT_TLS_SERVER_NAME (used to verify the hostname on returned certificates) VAULT_RETRY_WAIT_MIN (minimum time to wait before retrying) VAULT_RETRY_WAIT_MAX (maximum time to wait before retrying) VAULT_MAX_RETRIES (maximum number of retries for certain error codes)
func WithHTTPClient ¶ added in v0.2.0
func WithHTTPClient(client *http.Client) ClientOption
WithHTTPClient sets the HTTP client to use for all API requests. The library sets reasonable defaults for the BaseClient and its associated http.Transport. If you must modify Vault's defaults, it is suggested that you start with DefaultConfiguration().BaseClient and modify it as needed rather than starting with an empty client or http.DefaultClient.
func WithRateLimiter ¶
func WithRateLimiter(limiter *rate.Limiter) ClientOption
WithRateLimiter configures how frequently requests are allowed to happen. If this pointer is nil, then there will be no limit set. Note that an empty struct rate.Limiter is equivalent to blocking all requests.
Default: nil
func WithRequestTimeout ¶
func WithRequestTimeout(timeout time.Duration) ClientOption
WithRequestTimeout, given a non-negative value, will apply the timeout to each request function unless an earlier deadline is passed to the request function through context.Context. Note that this timeout is not applicable to client.ReadRaw(...) or client.ReadRawWithParameters(...).
Default: 60s
func WithRetryConfiguration ¶
func WithRetryConfiguration(configuration RetryConfiguration) ClientOption
WithRetryConfiguration configures the internal go-retryablehttp client. The library sets reasonable defaults for this setting.
func WithTLS ¶
func WithTLS(configuration TLSConfiguration) ClientOption
WithTLS configures the TLS settings in the base http.Client.
type Identity ¶
type Identity struct {
// contains filtered or unexported fields
}
Identity is a simple wrapper around the client for Identity requests
func (*Identity) AliasDeleteByID ¶
func (i *Identity) AliasDeleteByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
AliasDeleteByID Update, read or delete an alias ID. id: ID of the alias
func (*Identity) AliasListByID ¶
func (i *Identity) AliasListByID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AliasListByID List all the alias IDs.
func (*Identity) AliasReadByID ¶
func (i *Identity) AliasReadByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
AliasReadByID Update, read or delete an alias ID. id: ID of the alias
func (*Identity) AliasWrite ¶
func (i *Identity) AliasWrite(ctx context.Context, request schema.AliasWriteRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AliasWrite Create a new alias.
func (*Identity) AliasWriteByID ¶
func (i *Identity) AliasWriteByID(ctx context.Context, id string, request schema.AliasWriteByIDRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AliasWriteByID Update, read or delete an alias ID. id: ID of the alias
func (*Identity) EntityBatchDelete ¶
func (i *Identity) EntityBatchDelete(ctx context.Context, request schema.EntityBatchDeleteRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityBatchDelete Delete all of the entities provided
func (*Identity) EntityDeleteAliasByID ¶
func (i *Identity) EntityDeleteAliasByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityDeleteAliasByID Update, read or delete an alias ID. id: ID of the alias
func (*Identity) EntityDeleteByID ¶
func (i *Identity) EntityDeleteByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityDeleteByID Update, read or delete an entity using entity ID id: ID of the entity. If set, updates the corresponding existing entity.
func (*Identity) EntityDeleteByName ¶
func (i *Identity) EntityDeleteByName(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityDeleteByName Update, read or delete an entity using entity name name: Name of the entity
func (*Identity) EntityListAliasesByID ¶
func (i *Identity) EntityListAliasesByID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityListAliasesByID List all the alias IDs.
func (*Identity) EntityListByID ¶
func (i *Identity) EntityListByID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityListByID List all the entity IDs
func (*Identity) EntityListByName ¶
func (i *Identity) EntityListByName(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityListByName List all the entity names
func (*Identity) EntityLookup ¶
func (i *Identity) EntityLookup(ctx context.Context, request schema.EntityLookupRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityLookup Query entities based on various properties.
func (*Identity) EntityMerge ¶
func (i *Identity) EntityMerge(ctx context.Context, request schema.EntityMergeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityMerge Merge two or more entities together
func (*Identity) EntityReadAliasByID ¶
func (i *Identity) EntityReadAliasByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityReadAliasByID Update, read or delete an alias ID. id: ID of the alias
func (*Identity) EntityReadByID ¶
func (i *Identity) EntityReadByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityReadByID Update, read or delete an entity using entity ID id: ID of the entity. If set, updates the corresponding existing entity.
func (*Identity) EntityReadByName ¶
func (i *Identity) EntityReadByName(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityReadByName Update, read or delete an entity using entity name name: Name of the entity
func (*Identity) EntityWrite ¶
func (i *Identity) EntityWrite(ctx context.Context, request schema.EntityWriteRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityWrite Create a new entity
func (*Identity) EntityWriteAlias ¶
func (i *Identity) EntityWriteAlias(ctx context.Context, request schema.EntityWriteAliasRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityWriteAlias Create a new alias.
func (*Identity) EntityWriteAliasByID ¶
func (i *Identity) EntityWriteAliasByID(ctx context.Context, id string, request schema.EntityWriteAliasByIDRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityWriteAliasByID Update, read or delete an alias ID. id: ID of the alias
func (*Identity) EntityWriteByID ¶
func (i *Identity) EntityWriteByID(ctx context.Context, id string, request schema.EntityWriteByIDRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityWriteByID Update, read or delete an entity using entity ID id: ID of the entity. If set, updates the corresponding existing entity.
func (*Identity) EntityWriteByName ¶
func (i *Identity) EntityWriteByName(ctx context.Context, name string, request schema.EntityWriteByNameRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityWriteByName Update, read or delete an entity using entity name name: Name of the entity
func (*Identity) GroupDeleteAliasByID ¶
func (i *Identity) GroupDeleteAliasByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupDeleteAliasByID id: ID of the group alias.
func (*Identity) GroupDeleteByID ¶
func (i *Identity) GroupDeleteByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupDeleteByID Update or delete an existing group using its ID. id: ID of the group. If set, updates the corresponding existing group.
func (*Identity) GroupDeleteByName ¶
func (i *Identity) GroupDeleteByName(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupDeleteByName name: Name of the group.
func (*Identity) GroupListAliasesByID ¶
func (i *Identity) GroupListAliasesByID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupListAliasesByID List all the group alias IDs.
func (*Identity) GroupListByID ¶
func (i *Identity) GroupListByID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupListByID List all the group IDs.
func (*Identity) GroupListByName ¶
func (i *Identity) GroupListByName(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupListByName
func (*Identity) GroupLookup ¶
func (i *Identity) GroupLookup(ctx context.Context, request schema.GroupLookupRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupLookup Query groups based on various properties.
func (*Identity) GroupReadAliasByID ¶
func (i *Identity) GroupReadAliasByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupReadAliasByID id: ID of the group alias.
func (*Identity) GroupReadByID ¶
func (i *Identity) GroupReadByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupReadByID Update or delete an existing group using its ID. id: ID of the group. If set, updates the corresponding existing group.
func (*Identity) GroupReadByName ¶
func (i *Identity) GroupReadByName(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupReadByName name: Name of the group.
func (*Identity) GroupWrite ¶
func (i *Identity) GroupWrite(ctx context.Context, request schema.GroupWriteRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupWrite Create a new group.
func (*Identity) GroupWriteAlias ¶
func (i *Identity) GroupWriteAlias(ctx context.Context, request schema.GroupWriteAliasRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupWriteAlias Creates a new group alias, or updates an existing one.
func (*Identity) GroupWriteAliasByID ¶
func (i *Identity) GroupWriteAliasByID(ctx context.Context, id string, request schema.GroupWriteAliasByIDRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupWriteAliasByID id: ID of the group alias.
func (*Identity) GroupWriteByID ¶
func (i *Identity) GroupWriteByID(ctx context.Context, id string, request schema.GroupWriteByIDRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupWriteByID Update or delete an existing group using its ID. id: ID of the group. If set, updates the corresponding existing group.
func (*Identity) GroupWriteByName ¶
func (i *Identity) GroupWriteByName(ctx context.Context, name string, request schema.GroupWriteByNameRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupWriteByName name: Name of the group.
func (*Identity) MFADeleteLoginEnforcement ¶
func (i *Identity) MFADeleteLoginEnforcement(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
MFADeleteLoginEnforcement Delete a login enforcement name: Name for this login enforcement configuration
func (*Identity) MFAListLoginEnforcements ¶
func (i *Identity) MFAListLoginEnforcements(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAListLoginEnforcements List login enforcements
func (*Identity) MFAMethodAdminDestroyTOTP ¶
func (i *Identity) MFAMethodAdminDestroyTOTP(ctx context.Context, request schema.MFAMethodAdminDestroyTOTPRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodAdminDestroyTOTP Destroys a TOTP secret for the given MFA method ID on the given entity
func (*Identity) MFAMethodAdminGenerateTOTP ¶
func (i *Identity) MFAMethodAdminGenerateTOTP(ctx context.Context, request schema.MFAMethodAdminGenerateTOTPRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodAdminGenerateTOTP Update or create TOTP secret for the given method ID on the given entity.
func (*Identity) MFAMethodDeleteDuo ¶
func (i *Identity) MFAMethodDeleteDuo(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodDeleteDuo Delete a configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MFAMethodDeleteOkta ¶
func (i *Identity) MFAMethodDeleteOkta(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodDeleteOkta Delete a configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MFAMethodDeletePingID ¶
func (i *Identity) MFAMethodDeletePingID(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodDeletePingID Delete a configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MFAMethodDeleteTOTP ¶
func (i *Identity) MFAMethodDeleteTOTP(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodDeleteTOTP Delete a configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MFAMethodGenerateTOTP ¶
func (i *Identity) MFAMethodGenerateTOTP(ctx context.Context, request schema.MFAMethodGenerateTOTPRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodGenerateTOTP Update or create TOTP secret for the given method ID on the given entity.
func (*Identity) MFAMethodList ¶
func (i *Identity) MFAMethodList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodList List MFA method configurations for all MFA methods
func (*Identity) MFAMethodListDuo ¶
func (i *Identity) MFAMethodListDuo(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodListDuo List MFA method configurations for the given MFA method
func (*Identity) MFAMethodListOkta ¶
func (i *Identity) MFAMethodListOkta(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodListOkta List MFA method configurations for the given MFA method
func (*Identity) MFAMethodListPingID ¶
func (i *Identity) MFAMethodListPingID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodListPingID List MFA method configurations for the given MFA method
func (*Identity) MFAMethodListTOTP ¶
func (i *Identity) MFAMethodListTOTP(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodListTOTP List MFA method configurations for the given MFA method
func (*Identity) MFAMethodRead ¶
func (i *Identity) MFAMethodRead(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodRead Read the current configuration for the given ID regardless of the MFA method type methodId: The unique identifier for this MFA method.
func (*Identity) MFAMethodReadDuo ¶
func (i *Identity) MFAMethodReadDuo(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodReadDuo Read the current configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MFAMethodReadOkta ¶
func (i *Identity) MFAMethodReadOkta(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodReadOkta Read the current configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MFAMethodReadPingID ¶
func (i *Identity) MFAMethodReadPingID(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodReadPingID Read the current configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MFAMethodReadTOTP ¶
func (i *Identity) MFAMethodReadTOTP(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodReadTOTP Read the current configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MFAMethodWriteDuo ¶
func (i *Identity) MFAMethodWriteDuo(ctx context.Context, methodId string, request schema.MFAMethodWriteDuoRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodWriteDuo Update or create a configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MFAMethodWriteOkta ¶
func (i *Identity) MFAMethodWriteOkta(ctx context.Context, methodId string, request schema.MFAMethodWriteOktaRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodWriteOkta Update or create a configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MFAMethodWritePingID ¶
func (i *Identity) MFAMethodWritePingID(ctx context.Context, methodId string, request schema.MFAMethodWritePingIDRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodWritePingID Update or create a configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MFAMethodWriteTOTP ¶
func (i *Identity) MFAMethodWriteTOTP(ctx context.Context, methodId string, request schema.MFAMethodWriteTOTPRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAMethodWriteTOTP Update or create a configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MFAReadLoginEnforcement ¶
func (i *Identity) MFAReadLoginEnforcement(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAReadLoginEnforcement Read the current login enforcement name: Name for this login enforcement configuration
func (*Identity) MFAWriteLoginEnforcement ¶
func (i *Identity) MFAWriteLoginEnforcement(ctx context.Context, name string, request schema.MFAWriteLoginEnforcementRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAWriteLoginEnforcement Create or update a login enforcement name: Name for this login enforcement configuration
func (*Identity) OIDCDeleteAssignment ¶
func (i *Identity) OIDCDeleteAssignment(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCDeleteAssignment name: Name of the assignment
func (*Identity) OIDCDeleteClient ¶
func (i *Identity) OIDCDeleteClient(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCDeleteClient name: Name of the client.
func (*Identity) OIDCDeleteKey ¶
func (i *Identity) OIDCDeleteKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCDeleteKey CRUD operations for OIDC keys. name: Name of the key
func (*Identity) OIDCDeleteProvider ¶
func (i *Identity) OIDCDeleteProvider(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCDeleteProvider name: Name of the provider
func (*Identity) OIDCDeleteRole ¶
func (i *Identity) OIDCDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCDeleteRole CRUD operations on OIDC Roles name: Name of the role
func (*Identity) OIDCDeleteScope ¶
func (i *Identity) OIDCDeleteScope(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCDeleteScope name: Name of the scope
func (*Identity) OIDCIntrospect ¶
func (i *Identity) OIDCIntrospect(ctx context.Context, request schema.OIDCIntrospectRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCIntrospect Verify the authenticity of an OIDC token
func (*Identity) OIDCListAssignments ¶
func (i *Identity) OIDCListAssignments(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCListAssignments
func (*Identity) OIDCListClients ¶
func (i *Identity) OIDCListClients(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCListClients
func (*Identity) OIDCListKeys ¶
func (i *Identity) OIDCListKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCListKeys List OIDC keys
func (*Identity) OIDCListProviders ¶
func (i *Identity) OIDCListProviders(ctx context.Context, allowedClientId string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCListProviders allowedClientId: Filters the list of OIDC providers to those that allow the given client ID in their set of allowed_client_ids.
func (*Identity) OIDCListRoles ¶
func (i *Identity) OIDCListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCListRoles List configured OIDC roles
func (*Identity) OIDCListScopes ¶
func (i *Identity) OIDCListScopes(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCListScopes
func (*Identity) OIDCReadAssignment ¶
func (i *Identity) OIDCReadAssignment(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadAssignment name: Name of the assignment
func (*Identity) OIDCReadClient ¶
func (i *Identity) OIDCReadClient(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadClient name: Name of the client.
func (*Identity) OIDCReadConfig ¶
func (i *Identity) OIDCReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadConfig OIDC configuration
func (*Identity) OIDCReadKey ¶
func (i *Identity) OIDCReadKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadKey CRUD operations for OIDC keys. name: Name of the key
func (*Identity) OIDCReadProvider ¶
func (i *Identity) OIDCReadProvider(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadProvider name: Name of the provider
func (*Identity) OIDCReadProviderAuthorize ¶
func (i *Identity) OIDCReadProviderAuthorize(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadProviderAuthorize name: Name of the provider
func (*Identity) OIDCReadProviderUserInfo ¶
func (i *Identity) OIDCReadProviderUserInfo(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadProviderUserInfo name: Name of the provider
func (*Identity) OIDCReadProviderWellKnownKeys ¶
func (i *Identity) OIDCReadProviderWellKnownKeys(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadProviderWellKnownKeys name: Name of the provider
func (*Identity) OIDCReadProviderWellKnownOpenIDConfiguration ¶
func (i *Identity) OIDCReadProviderWellKnownOpenIDConfiguration(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadProviderWellKnownOpenIDConfiguration name: Name of the provider
func (*Identity) OIDCReadRole ¶
func (i *Identity) OIDCReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadRole CRUD operations on OIDC Roles name: Name of the role
func (*Identity) OIDCReadScope ¶
func (i *Identity) OIDCReadScope(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadScope name: Name of the scope
func (*Identity) OIDCReadToken ¶
func (i *Identity) OIDCReadToken(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadToken Generate an OIDC token name: Name of the role
func (*Identity) OIDCReadWellKnownKeys ¶
func (i *Identity) OIDCReadWellKnownKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadWellKnownKeys Retrieve public keys
func (*Identity) OIDCReadWellKnownOpenIDConfiguration ¶
func (i *Identity) OIDCReadWellKnownOpenIDConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCReadWellKnownOpenIDConfiguration Query OIDC configurations
func (*Identity) OIDCRotateKey ¶
func (i *Identity) OIDCRotateKey(ctx context.Context, name string, request schema.OIDCRotateKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCRotateKey Rotate a named OIDC key. name: Name of the key
func (*Identity) OIDCWriteAssignment ¶
func (i *Identity) OIDCWriteAssignment(ctx context.Context, name string, request schema.OIDCWriteAssignmentRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCWriteAssignment name: Name of the assignment
func (*Identity) OIDCWriteClient ¶
func (i *Identity) OIDCWriteClient(ctx context.Context, name string, request schema.OIDCWriteClientRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCWriteClient name: Name of the client.
func (*Identity) OIDCWriteConfig ¶
func (i *Identity) OIDCWriteConfig(ctx context.Context, request schema.OIDCWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCWriteConfig OIDC configuration
func (*Identity) OIDCWriteKey ¶
func (i *Identity) OIDCWriteKey(ctx context.Context, name string, request schema.OIDCWriteKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCWriteKey CRUD operations for OIDC keys. name: Name of the key
func (*Identity) OIDCWriteProvider ¶
func (i *Identity) OIDCWriteProvider(ctx context.Context, name string, request schema.OIDCWriteProviderRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCWriteProvider name: Name of the provider
func (*Identity) OIDCWriteProviderAuthorize ¶
func (i *Identity) OIDCWriteProviderAuthorize(ctx context.Context, name string, request schema.OIDCWriteProviderAuthorizeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCWriteProviderAuthorize name: Name of the provider
func (*Identity) OIDCWriteProviderToken ¶
func (i *Identity) OIDCWriteProviderToken(ctx context.Context, name string, request schema.OIDCWriteProviderTokenRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCWriteProviderToken name: Name of the provider
func (*Identity) OIDCWriteProviderUserInfo ¶
func (i *Identity) OIDCWriteProviderUserInfo(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCWriteProviderUserInfo name: Name of the provider
func (*Identity) OIDCWriteRole ¶
func (i *Identity) OIDCWriteRole(ctx context.Context, name string, request schema.OIDCWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCWriteRole CRUD operations on OIDC Roles name: Name of the role
func (*Identity) OIDCWriteScope ¶
func (i *Identity) OIDCWriteScope(ctx context.Context, name string, request schema.OIDCWriteScopeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OIDCWriteScope name: Name of the scope
func (*Identity) PersonaIDDeleteByID ¶
func (i *Identity) PersonaIDDeleteByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
PersonaIDDeleteByID Update, read or delete an alias ID. id: ID of the persona
func (*Identity) PersonaIDReadByID ¶
func (i *Identity) PersonaIDReadByID(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
PersonaIDReadByID Update, read or delete an alias ID. id: ID of the persona
func (*Identity) PersonaIDWriteByID ¶
func (i *Identity) PersonaIDWriteByID(ctx context.Context, id string, request schema.PersonaIDWriteByIDRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PersonaIDWriteByID Update, read or delete an alias ID. id: ID of the persona
func (*Identity) PersonaListByID ¶
func (i *Identity) PersonaListByID(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PersonaListByID List all the alias IDs.
func (*Identity) PersonaWrite ¶
func (i *Identity) PersonaWrite(ctx context.Context, request schema.PersonaWriteRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PersonaWrite Create a new alias.
type MFAConstraintAny ¶
type MFAConstraintAny struct {
Any []MFAMethodID `json:"any"`
}
type MFAMethodID ¶
type MFARequirement ¶
type MFARequirement struct { MFARequestID string `json:"mfa_request_id"` MFAConstraints map[string]MFAConstraintAny `json:"mfa_constraints"` }
type RedirectError ¶
type RedirectError struct { // StatusCode is the HTTP status code returned in the response StatusCode int // Message is the error message Message string // RedirectLocation is populated with the "Location" header, if set RedirectLocation string // OriginalRequest is a pointer to the request that caused this error OriginalRequest *http.Request }
RedirectError is the error returned when the client receives a redirect response and either
- the redirects are disabled in configuration
- more than one redirect was encountered
- the redirect response could not be properly parsed
func (*RedirectError) Error ¶
func (e *RedirectError) Error() string
type ReplicationForwardingMode ¶
type ReplicationForwardingMode uint8
const ( // Setting this mode will clear all forwarding headers ReplicationForwardNone ReplicationForwardingMode = iota // Setting this mode will add 'X-Vault-Forward' header to all subsequent // requests, telling any performance standbys handling the requests to // forward them to the active node. // // https://developer.hashicorp.com/vault/docs/enterprise/consistency#unconditional-forwarding-performance-standbys-only ReplicationForwardAlways // Setting this mode will add 'X-Vault-Inconsistent' header to all // subsequent requests; any performance standbys handling the requests will // conditionally forward them to the active node if the state required // isn't present on the node receiving this request. This should be used // in conjunction with RequireReplicationState(...). // // https://developer.hashicorp.com/vault/docs/enterprise/consistency#conditional-forwarding-performance-standbys-only ReplicationForwardInconsistent )
type ReplicationState ¶
ReplicationState is analogous to the WALState in github.com/vault/sdk
func ParseReplicationState ¶
func ParseReplicationState(raw string, hmacKey []byte) (ReplicationState, error)
ParseReplicationState will parse the raw base64-encoded replication state into its individual components. If an optional hmacKey is provided, it will used to verify the replication state contents. The format of the string (after decoding) is expected to be:
v1:cluster-id-string:local-index:replicated-index:hmac
type RequestCallback ¶
func RequireReplicationStates ¶
func RequireReplicationStates(states ...string) RequestCallback
RequireReplicationStates returns a request callback that will add request headers to specify the replication states we require of Vault. These states were obtained from the previously-seen response headers captured with RecordReplicationState(...).
type RequestOption ¶
type RequestOption func(*requestModifiers) error
RequestOption is a functional parameter used to modify a request
func WithCustomHeaders ¶
func WithCustomHeaders(headers http.Header) RequestOption
WithCustomHeaders sets custom headers for the next request; these headers take precedence over the client-level custom headers. The internal prefix 'X-Vault-' is not permitted for the header keys.
func WithMFACredentials ¶
func WithMFACredentials(credentials ...string) RequestOption
WithMFACredentials sets the multi-factor authentication credentials for the next request, it takes precedence over the client-level MFA credentials.
See https://learn.hashicorp.com/tutorials/vault/multi-factor-authentication for more information on multi-factor authentication.
func WithMountPath ¶
func WithMountPath(path string) RequestOption
WithMountPath overwrites the default mount path in client.Auth and client.Secrets requests with the given mount path string.
func WithNamespace ¶
func WithNamespace(namespace string) RequestOption
WithNamespace sets the namespace for the next request; it takes precedence over the client-level namespace. Use an empty string to clear the namespace from the next request.
See https://developer.hashicorp.com/vault/docs/enterprise/namespaces for more info on namespaces.
func WithReplicationForwardingMode ¶
func WithReplicationForwardingMode(mode ReplicationForwardingMode) RequestOption
WithReplicationForwardingMode sets a replication forwarding header to the given value for the next request; it takes precedence over the client-level replication forwarding header.
ReplicationForwardNone - no forwarding headers ReplicationForwardAlways - 'X-Vault-Forward' ReplicationForwardInconsistent - 'X-Vault-Inconsistent'
See https://developer.hashicorp.com/vault/docs/enterprise/consistency#vault-1-7-mitigations
func WithRequestCallbacks ¶
func WithRequestCallbacks(callbacks ...RequestCallback) RequestOption
WithRequestCallbacks sets callbacks which will be invoked before the next request; these take precedence over the client-level request callbacks.
func WithResponseCallbacks ¶
func WithResponseCallbacks(callbacks ...ResponseCallback) RequestOption
WithResponseCallbacks sets callbacks which will be invoked after a successful response within the next request; these take precedence over the client-level response callbacks.
func WithResponseWrapping ¶
func WithResponseWrapping(ttl time.Duration) RequestOption
WithResponseWrapping sets the response-wrapping TTL to the given duration for the next request; it takes precedence over the client-level response-wrapping TTL. A non-zero duration will tell Vault to wrap the response and return a response-wrapping token instead. Set `ttl` to zero to clear the response-wrapping header from the next request.
See https://developer.hashicorp.com/vault/docs/concepts/response-wrapping for more information on response wrapping.
func WithToken ¶
func WithToken(token string) RequestOption
WithToken sets the token for the next request; it takes precedence over the client-level token.
See https://developer.hashicorp.com/vault/docs/concepts/tokens for more info on tokens.
type Response ¶
type Response[T any] struct { // The request ID that generated this response RequestID string `json:"request_id"` LeaseID string `json:"lease_id"` LeaseDuration int `json:"lease_duration"` Renewable bool `json:"renewable"` // Data is the actual contents of the response. The format of the data // is arbitrary and is up to the secret backend. Data T `json:"data"` // Warnings contains any warnings related to the operation. These // are not issues that caused the command to fail, but things that the // client should be aware of. Warnings []string `json:"warnings"` // Auth, if non-nil, means that there was authentication information // attached to this response. Auth *ResponseAuth `json:"auth,omitempty"` // WrapInfo, if non-nil, means that the initial response was wrapped in the // cubbyhole of the given token (which has a TTL of the given number of // seconds) WrapInfo *ResponseWrapInfo `json:"wrap_info,omitempty"` }
Response is the structure returned by the majority of the requests to Vault
func Unwrap ¶
func Unwrap[T any](ctx context.Context, client *Client, wrappingToken string, options ...RequestOption) (*Response[T], error)
Unwrap sends a request with the given wrapping token and returns the original wrapped response.
See https://developer.hashicorp.com/vault/docs/concepts/response-wrapping for more information on response wrapping
type ResponseAuth ¶
type ResponseAuth struct { ClientToken string `json:"client_token"` Accessor string `json:"accessor"` Policies []string `json:"policies"` TokenPolicies []string `json:"token_policies"` IdentityPolicies []string `json:"identity_policies"` Metadata map[string]string `json:"metadata"` Orphan bool `json:"orphan"` EntityID string `json:"entity_id"` LeaseDuration int `json:"lease_duration"` Renewable bool `json:"renewable"` MFARequirement *MFARequirement `json:"mfa_requirement,omitempty"` }
ResponseAuth contains authentication information if we have it.
type ResponseCallback ¶
func RecordReplicationState ¶
func RecordReplicationState(state *string) ResponseCallback
RecordReplicationState returns a response callback that will record the replication state returned by Vault in a response header.
type ResponseError ¶
type ResponseError struct { // StatusCode is the HTTP status code returned in the response StatusCode int // Errors are the underlying error messages returned in the response body Errors []string // OriginalRequest is a pointer to the request that caused this error OriginalRequest *http.Request }
ResponseError is the error returned when Vault responds with an HTTP status code outside of the 200 - 399 range. If a request to Vault fails due to a network error, a different error message will be returned.
func (*ResponseError) Error ¶
func (e *ResponseError) Error() string
type ResponseWrapInfo ¶
type ResponseWrapInfo struct { Token string `json:"token"` Accessor string `json:"accessor"` TTL int `json:"ttl"` CreationTime time.Time `json:"creation_time"` CreationPath string `json:"creation_path"` WrappedAccessor string `json:"wrapped_accessor"` }
ResponseWrapInfo contains wrapping information if we have it. If what is contained is an authentication token, the accessor for the token will be available in WrappedAccessor.
type RetryConfiguration ¶
type RetryConfiguration struct { // RetryWaitMin controls the minimum time to wait before retrying when // a 5xx or 412 error occurs. // Default: 1000 milliseconds RetryWaitMin time.Duration `env:"VAULT_RETRY_WAIT_MIN"` // MaxRetryWait controls the maximum time to wait before retrying when // a 5xx or 412 error occurs. // Default: 1500 milliseconds RetryWaitMax time.Duration `env:"VAULT_RETRY_WAIT_MAX"` // RetryMax controls the maximum number of times to retry when a 5xx or 412 // error occurs. Set to -1 to disable retrying. // Default: 2 (for a total of three tries) RetryMax int `env:"VAULT_MAX_RETRIES"` // CheckRetry specifies a policy for handling retries. It is called after // each request with the response and error values returned by the http.Client. // Default: retryablehttp.DefaultRetryPolicy + retry on 412 responses CheckRetry retryablehttp.CheckRetry // Backoff specifies a policy for how long to wait between retries. // Default: retryablehttp.LinearJitterBackoff Backoff retryablehttp.Backoff // ErrorHandler specifies the custom error handler to use if any. // Default: retryablehttp.PassthroughErrorHandler ErrorHandler retryablehttp.ErrorHandler // Logger is a custom retryablehttp.Logger or retryablehttp.LeveledLogger. // Default: nil Logger interface{} }
RetryConfiguration is a collection of settings used to configure the internal go-retryablehttp client.
type Secrets ¶
type Secrets struct {
// contains filtered or unexported fields
}
Secrets is a simple wrapper around the client for Secrets requests
func (*Secrets) AWSConfigReadLease ¶
func (s *Secrets) AWSConfigReadLease(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigReadLease Configure the default lease information for generated credentials.
func (*Secrets) AWSConfigReadRootIAMCredentials ¶
func (s *Secrets) AWSConfigReadRootIAMCredentials(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigReadRootIAMCredentials Configure the root credentials that are used to manage IAM.
func (*Secrets) AWSConfigRotateRootIAMCredentials ¶
func (s *Secrets) AWSConfigRotateRootIAMCredentials(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigRotateRootIAMCredentials
func (*Secrets) AWSConfigWriteLease ¶
func (s *Secrets) AWSConfigWriteLease(ctx context.Context, request schema.AWSConfigWriteLeaseRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigWriteLease Configure the default lease information for generated credentials.
func (*Secrets) AWSConfigWriteRootIAMCredentials ¶
func (s *Secrets) AWSConfigWriteRootIAMCredentials(ctx context.Context, request schema.AWSConfigWriteRootIAMCredentialsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSConfigWriteRootIAMCredentials Configure the root credentials that are used to manage IAM.
func (*Secrets) AWSDeleteRole ¶
func (s *Secrets) AWSDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSDeleteRole Read, write and reference IAM policies that access keys can be made for. name: Name of the policy
func (*Secrets) AWSListRoles ¶
func (s *Secrets) AWSListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSListRoles List the existing roles in this backend
func (*Secrets) AWSReadCredentials ¶
func (s *Secrets) AWSReadCredentials(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSReadCredentials Generate AWS credentials from a specific Vault role.
func (*Secrets) AWSReadRole ¶
func (s *Secrets) AWSReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSReadRole Read, write and reference IAM policies that access keys can be made for. name: Name of the policy
func (*Secrets) AWSReadSecurityTokenService ¶
func (s *Secrets) AWSReadSecurityTokenService(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSReadSecurityTokenService Generate AWS credentials from a specific Vault role. name: Name of the role
func (*Secrets) AWSWriteCredentials ¶
func (s *Secrets) AWSWriteCredentials(ctx context.Context, request schema.AWSWriteCredentialsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSWriteCredentials Generate AWS credentials from a specific Vault role.
func (*Secrets) AWSWriteRole ¶
func (s *Secrets) AWSWriteRole(ctx context.Context, name string, request schema.AWSWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSWriteRole Read, write and reference IAM policies that access keys can be made for. name: Name of the policy
func (*Secrets) AWSWriteSecurityTokenService ¶
func (s *Secrets) AWSWriteSecurityTokenService(ctx context.Context, name string, request schema.AWSWriteSecurityTokenServiceRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AWSWriteSecurityTokenService Generate AWS credentials from a specific Vault role. name: Name of the role
func (*Secrets) ActiveDirectoryCheckInLibrary ¶
func (s *Secrets) ActiveDirectoryCheckInLibrary(ctx context.Context, name string, request schema.ActiveDirectoryCheckInLibraryRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryCheckInLibrary Check service accounts in to the library. name: Name of the set.
func (*Secrets) ActiveDirectoryCheckInManageLibrary ¶
func (s *Secrets) ActiveDirectoryCheckInManageLibrary(ctx context.Context, name string, request schema.ActiveDirectoryCheckInManageLibraryRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryCheckInManageLibrary Check service accounts in to the library. name: Name of the set.
func (*Secrets) ActiveDirectoryCheckOutLibrary ¶
func (s *Secrets) ActiveDirectoryCheckOutLibrary(ctx context.Context, name string, request schema.ActiveDirectoryCheckOutLibraryRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryCheckOutLibrary Check a service account out from the library. name: Name of the set
func (*Secrets) ActiveDirectoryDeleteConfig ¶
func (s *Secrets) ActiveDirectoryDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryDeleteConfig Configure the AD server to connect to, along with password options.
func (*Secrets) ActiveDirectoryDeleteLibrary ¶
func (s *Secrets) ActiveDirectoryDeleteLibrary(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryDeleteLibrary Delete a library set. name: Name of the set.
func (*Secrets) ActiveDirectoryDeleteRole ¶
func (s *Secrets) ActiveDirectoryDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryDeleteRole Manage roles to build links between Vault and Active Directory service accounts. name: Name of the role
func (*Secrets) ActiveDirectoryListLibraries ¶
func (s *Secrets) ActiveDirectoryListLibraries(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryListLibraries
func (*Secrets) ActiveDirectoryListRoles ¶
func (s *Secrets) ActiveDirectoryListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryListRoles List the name of each role currently stored.
func (*Secrets) ActiveDirectoryReadConfig ¶
func (s *Secrets) ActiveDirectoryReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryReadConfig Configure the AD server to connect to, along with password options.
func (*Secrets) ActiveDirectoryReadCredentials ¶
func (s *Secrets) ActiveDirectoryReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryReadCredentials name: Name of the role
func (*Secrets) ActiveDirectoryReadLibrary ¶
func (s *Secrets) ActiveDirectoryReadLibrary(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryReadLibrary Read a library set. name: Name of the set.
func (*Secrets) ActiveDirectoryReadLibraryStatus ¶
func (s *Secrets) ActiveDirectoryReadLibraryStatus(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryReadLibraryStatus Check the status of the service accounts in a library set. name: Name of the set.
func (*Secrets) ActiveDirectoryReadRole ¶
func (s *Secrets) ActiveDirectoryReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryReadRole Manage roles to build links between Vault and Active Directory service accounts. name: Name of the role
func (*Secrets) ActiveDirectoryRotateRole ¶
func (s *Secrets) ActiveDirectoryRotateRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryRotateRole name: Name of the static role
func (*Secrets) ActiveDirectoryRotateRoot ¶
func (s *Secrets) ActiveDirectoryRotateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryRotateRoot
func (*Secrets) ActiveDirectoryWriteConfig ¶
func (s *Secrets) ActiveDirectoryWriteConfig(ctx context.Context, request schema.ActiveDirectoryWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryWriteConfig Configure the AD server to connect to, along with password options.
func (*Secrets) ActiveDirectoryWriteLibrary ¶
func (s *Secrets) ActiveDirectoryWriteLibrary(ctx context.Context, name string, request schema.ActiveDirectoryWriteLibraryRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryWriteLibrary Update a library set. name: Name of the set.
func (*Secrets) ActiveDirectoryWriteRole ¶
func (s *Secrets) ActiveDirectoryWriteRole(ctx context.Context, name string, request schema.ActiveDirectoryWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
ActiveDirectoryWriteRole Manage roles to build links between Vault and Active Directory service accounts. name: Name of the role
func (*Secrets) AliCloudDeleteConfig ¶
func (s *Secrets) AliCloudDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudDeleteConfig Configure the access key and secret to use for RAM and STS calls.
func (*Secrets) AliCloudDeleteRole ¶
func (s *Secrets) AliCloudDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudDeleteRole Read, write and reference policies and roles that API keys or STS credentials can be made for. name: The name of the role.
func (*Secrets) AliCloudListRoles ¶
func (s *Secrets) AliCloudListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudListRoles List the existing roles in this backend.
func (*Secrets) AliCloudReadConfig ¶
func (s *Secrets) AliCloudReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudReadConfig Configure the access key and secret to use for RAM and STS calls.
func (*Secrets) AliCloudReadCredentials ¶
func (s *Secrets) AliCloudReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudReadCredentials Generate an API key or STS credential using the given role's configuration.' name: The name of the role.
func (*Secrets) AliCloudReadRole ¶
func (s *Secrets) AliCloudReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudReadRole Read, write and reference policies and roles that API keys or STS credentials can be made for. name: The name of the role.
func (*Secrets) AliCloudWriteConfig ¶
func (s *Secrets) AliCloudWriteConfig(ctx context.Context, request schema.AliCloudWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudWriteConfig Configure the access key and secret to use for RAM and STS calls.
func (*Secrets) AliCloudWriteRole ¶
func (s *Secrets) AliCloudWriteRole(ctx context.Context, name string, request schema.AliCloudWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudWriteRole Read, write and reference policies and roles that API keys or STS credentials can be made for. name: The name of the role.
func (*Secrets) AzureDeleteConfig ¶
func (s *Secrets) AzureDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureDeleteConfig
func (*Secrets) AzureDeleteRole ¶
func (s *Secrets) AzureDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureDeleteRole Manage the Vault roles used to generate Azure credentials. name: Name of the role.
func (*Secrets) AzureListRoles ¶
func (s *Secrets) AzureListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureListRoles List existing roles.
func (*Secrets) AzureReadConfig ¶
func (s *Secrets) AzureReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureReadConfig
func (*Secrets) AzureReadCredentials ¶
func (s *Secrets) AzureReadCredentials(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureReadCredentials role: Name of the Vault role
func (*Secrets) AzureReadRole ¶
func (s *Secrets) AzureReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureReadRole Manage the Vault roles used to generate Azure credentials. name: Name of the role.
func (*Secrets) AzureRotateRoot ¶
func (s *Secrets) AzureRotateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureRotateRoot
func (*Secrets) AzureWriteConfig ¶
func (s *Secrets) AzureWriteConfig(ctx context.Context, request schema.AzureWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureWriteConfig
func (*Secrets) AzureWriteRole ¶
func (s *Secrets) AzureWriteRole(ctx context.Context, name string, request schema.AzureWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureWriteRole Manage the Vault roles used to generate Azure credentials. name: Name of the role.
func (*Secrets) ConsulDeleteRole ¶
func (s *Secrets) ConsulDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ConsulDeleteRole name: Name of the role.
func (*Secrets) ConsulListRoles ¶
func (s *Secrets) ConsulListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ConsulListRoles
func (*Secrets) ConsulReadAccessConfig ¶
func (s *Secrets) ConsulReadAccessConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ConsulReadAccessConfig
func (*Secrets) ConsulReadCredentials ¶
func (s *Secrets) ConsulReadCredentials(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
ConsulReadCredentials role: Name of the role.
func (*Secrets) ConsulReadRole ¶
func (s *Secrets) ConsulReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ConsulReadRole name: Name of the role.
func (*Secrets) ConsulWriteAccessConfig ¶
func (s *Secrets) ConsulWriteAccessConfig(ctx context.Context, request schema.ConsulWriteAccessConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
ConsulWriteAccessConfig
func (*Secrets) ConsulWriteRole ¶
func (s *Secrets) ConsulWriteRole(ctx context.Context, name string, request schema.ConsulWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
ConsulWriteRole name: Name of the role.
func (*Secrets) CubbyholeDelete ¶
func (s *Secrets) CubbyholeDelete(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
CubbyholeDelete Deletes the secret at the specified location. path: Specifies the path of the secret.
func (*Secrets) CubbyholeRead ¶
func (s *Secrets) CubbyholeRead(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
CubbyholeRead Retrieve the secret at the specified location. path: Specifies the path of the secret.
func (*Secrets) CubbyholeWrite ¶
func (s *Secrets) CubbyholeWrite(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
CubbyholeWrite Store a secret at the specified location. path: Specifies the path of the secret.
func (*Secrets) DatabaseDeleteConfig ¶
func (s *Secrets) DatabaseDeleteConfig(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseDeleteConfig Configure connection details to a database plugin. name: Name of this database connection
func (*Secrets) DatabaseDeleteRole ¶
func (s *Secrets) DatabaseDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseDeleteRole Manage the roles that can be created with this backend. name: Name of the role.
func (*Secrets) DatabaseDeleteStaticRole ¶
func (s *Secrets) DatabaseDeleteStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseDeleteStaticRole Manage the static roles that can be created with this backend. name: Name of the role.
func (*Secrets) DatabaseListConfig ¶
func (s *Secrets) DatabaseListConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseListConfig Configure connection details to a database plugin.
func (*Secrets) DatabaseListRoles ¶
func (s *Secrets) DatabaseListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseListRoles Manage the roles that can be created with this backend.
func (*Secrets) DatabaseListStaticRoles ¶
func (s *Secrets) DatabaseListStaticRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseListStaticRoles Manage the static roles that can be created with this backend.
func (*Secrets) DatabaseReadConfig ¶
func (s *Secrets) DatabaseReadConfig(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseReadConfig Configure connection details to a database plugin. name: Name of this database connection
func (*Secrets) DatabaseReadCredentials ¶
func (s *Secrets) DatabaseReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseReadCredentials Request database credentials for a certain role. name: Name of the role.
func (*Secrets) DatabaseReadRole ¶
func (s *Secrets) DatabaseReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseReadRole Manage the roles that can be created with this backend. name: Name of the role.
func (*Secrets) DatabaseReadStaticCredentials ¶
func (s *Secrets) DatabaseReadStaticCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseReadStaticCredentials Request database credentials for a certain static role. These credentials are rotated periodically. name: Name of the static role.
func (*Secrets) DatabaseReadStaticRole ¶
func (s *Secrets) DatabaseReadStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseReadStaticRole Manage the static roles that can be created with this backend. name: Name of the role.
func (*Secrets) DatabaseReset ¶
func (s *Secrets) DatabaseReset(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseReset Resets a database plugin. name: Name of this database connection
func (*Secrets) DatabaseRotateRole ¶
func (s *Secrets) DatabaseRotateRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseRotateRole name: Name of the static role
func (*Secrets) DatabaseRotateRoot ¶
func (s *Secrets) DatabaseRotateRoot(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseRotateRoot name: Name of this database connection
func (*Secrets) DatabaseWriteConfig ¶
func (s *Secrets) DatabaseWriteConfig(ctx context.Context, name string, request schema.DatabaseWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseWriteConfig Configure connection details to a database plugin. name: Name of this database connection
func (*Secrets) DatabaseWriteRole ¶
func (s *Secrets) DatabaseWriteRole(ctx context.Context, name string, request schema.DatabaseWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseWriteRole Manage the roles that can be created with this backend. name: Name of the role.
func (*Secrets) DatabaseWriteStaticRole ¶
func (s *Secrets) DatabaseWriteStaticRole(ctx context.Context, name string, request schema.DatabaseWriteStaticRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseWriteStaticRole Manage the static roles that can be created with this backend. name: Name of the role.
func (*Secrets) GoogleCloudDeleteRoleset ¶
func (s *Secrets) GoogleCloudDeleteRoleset(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudDeleteRoleset name: Required. Name of the role.
func (*Secrets) GoogleCloudDeleteStaticAccount ¶
func (s *Secrets) GoogleCloudDeleteStaticAccount(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudDeleteStaticAccount name: Required. Name to refer to this static account in Vault. Cannot be updated.
func (*Secrets) GoogleCloudKMSDecrypt ¶
func (s *Secrets) GoogleCloudKMSDecrypt(ctx context.Context, key string, request schema.GoogleCloudKMSDecryptRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSDecrypt Decrypt a ciphertext value using a named key key: Name of the key in Vault to use for decryption. This key must already exist in Vault and must map back to a Google Cloud KMS key.
func (*Secrets) GoogleCloudKMSDeleteConfig ¶
func (s *Secrets) GoogleCloudKMSDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSDeleteConfig Configure the GCP KMS secrets engine
func (*Secrets) GoogleCloudKMSDeleteKey ¶
func (s *Secrets) GoogleCloudKMSDeleteKey(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSDeleteKey Interact with crypto keys in Vault and Google Cloud KMS key: Name of the key in Vault.
func (*Secrets) GoogleCloudKMSDeregisterKey ¶
func (s *Secrets) GoogleCloudKMSDeregisterKey(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSDeregisterKey Deregister an existing key in Vault key: Name of the key to deregister in Vault. If the key exists in Google Cloud KMS, it will be left untouched.
func (*Secrets) GoogleCloudKMSEncrypt ¶
func (s *Secrets) GoogleCloudKMSEncrypt(ctx context.Context, key string, request schema.GoogleCloudKMSEncryptRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSEncrypt Encrypt a plaintext value using a named key key: Name of the key in Vault to use for encryption. This key must already exist in Vault and must map back to a Google Cloud KMS key.
func (*Secrets) GoogleCloudKMSListKeys ¶
func (s *Secrets) GoogleCloudKMSListKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSListKeys List named keys
func (*Secrets) GoogleCloudKMSReadConfig ¶
func (s *Secrets) GoogleCloudKMSReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSReadConfig Configure the GCP KMS secrets engine
func (*Secrets) GoogleCloudKMSReadKey ¶
func (s *Secrets) GoogleCloudKMSReadKey(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSReadKey Interact with crypto keys in Vault and Google Cloud KMS key: Name of the key in Vault.
func (*Secrets) GoogleCloudKMSReadKeyConfig ¶
func (s *Secrets) GoogleCloudKMSReadKeyConfig(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSReadKeyConfig Configure the key in Vault key: Name of the key in Vault.
func (*Secrets) GoogleCloudKMSReadPubkey ¶
func (s *Secrets) GoogleCloudKMSReadPubkey(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSReadPubkey Retrieve the public key associated with the named key key: Name of the key for which to get the public key. This key must already exist in Vault and Google Cloud KMS.
func (*Secrets) GoogleCloudKMSReencrypt ¶
func (s *Secrets) GoogleCloudKMSReencrypt(ctx context.Context, key string, request schema.GoogleCloudKMSReencryptRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSReencrypt Re-encrypt existing ciphertext data to a new version key: Name of the key to use for encryption. This key must already exist in Vault and Google Cloud KMS.
func (*Secrets) GoogleCloudKMSRegisterKey ¶
func (s *Secrets) GoogleCloudKMSRegisterKey(ctx context.Context, key string, request schema.GoogleCloudKMSRegisterKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSRegisterKey Register an existing crypto key in Google Cloud KMS key: Name of the key to register in Vault. This will be the named used to refer to the underlying crypto key when encrypting or decrypting data.
func (*Secrets) GoogleCloudKMSRotateKey ¶
func (s *Secrets) GoogleCloudKMSRotateKey(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSRotateKey Rotate a crypto key to a new primary version key: Name of the key to rotate. This key must already be registered with Vault and point to a valid Google Cloud KMS crypto key.
func (*Secrets) GoogleCloudKMSSign ¶
func (s *Secrets) GoogleCloudKMSSign(ctx context.Context, key string, request schema.GoogleCloudKMSSignRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSSign Signs a message or digest using a named key key: Name of the key in Vault to use for signing. This key must already exist in Vault and must map back to a Google Cloud KMS key.
func (*Secrets) GoogleCloudKMSTrimKey ¶
func (s *Secrets) GoogleCloudKMSTrimKey(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSTrimKey Delete old crypto key versions from Google Cloud KMS key: Name of the key in Vault.
func (*Secrets) GoogleCloudKMSVerify ¶
func (s *Secrets) GoogleCloudKMSVerify(ctx context.Context, key string, request schema.GoogleCloudKMSVerifyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSVerify Verify a signature using a named key key: Name of the key in Vault to use for verification. This key must already exist in Vault and must map back to a Google Cloud KMS key.
func (*Secrets) GoogleCloudKMSWriteConfig ¶
func (s *Secrets) GoogleCloudKMSWriteConfig(ctx context.Context, request schema.GoogleCloudKMSWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSWriteConfig Configure the GCP KMS secrets engine
func (*Secrets) GoogleCloudKMSWriteKey ¶
func (s *Secrets) GoogleCloudKMSWriteKey(ctx context.Context, key string, request schema.GoogleCloudKMSWriteKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSWriteKey Interact with crypto keys in Vault and Google Cloud KMS key: Name of the key in Vault.
func (*Secrets) GoogleCloudKMSWriteKeyConfig ¶
func (s *Secrets) GoogleCloudKMSWriteKeyConfig(ctx context.Context, key string, request schema.GoogleCloudKMSWriteKeyConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKMSWriteKeyConfig Configure the key in Vault key: Name of the key in Vault.
func (*Secrets) GoogleCloudListRolesets ¶
func (s *Secrets) GoogleCloudListRolesets(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudListRolesets
func (*Secrets) GoogleCloudListStaticAccounts ¶
func (s *Secrets) GoogleCloudListStaticAccounts(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudListStaticAccounts
func (*Secrets) GoogleCloudReadConfig ¶
func (s *Secrets) GoogleCloudReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudReadConfig
func (*Secrets) GoogleCloudReadKey ¶
func (s *Secrets) GoogleCloudReadKey(ctx context.Context, roleset string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudReadKey roleset: Required. Name of the role set.
func (*Secrets) GoogleCloudReadRoleset ¶
func (s *Secrets) GoogleCloudReadRoleset(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudReadRoleset name: Required. Name of the role.
func (*Secrets) GoogleCloudReadRolesetKey ¶
func (s *Secrets) GoogleCloudReadRolesetKey(ctx context.Context, roleset string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudReadRolesetKey roleset: Required. Name of the role set.
func (*Secrets) GoogleCloudReadRolesetToken ¶
func (s *Secrets) GoogleCloudReadRolesetToken(ctx context.Context, roleset string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudReadRolesetToken roleset: Required. Name of the role set.
func (*Secrets) GoogleCloudReadStaticAccount ¶
func (s *Secrets) GoogleCloudReadStaticAccount(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudReadStaticAccount name: Required. Name to refer to this static account in Vault. Cannot be updated.
func (*Secrets) GoogleCloudReadStaticAccountKey ¶
func (s *Secrets) GoogleCloudReadStaticAccountKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudReadStaticAccountKey name: Required. Name of the static account.
func (*Secrets) GoogleCloudReadStaticAccountToken ¶
func (s *Secrets) GoogleCloudReadStaticAccountToken(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudReadStaticAccountToken name: Required. Name of the static account.
func (*Secrets) GoogleCloudReadToken ¶
func (s *Secrets) GoogleCloudReadToken(ctx context.Context, roleset string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudReadToken roleset: Required. Name of the role set.
func (*Secrets) GoogleCloudRotateRoleset ¶
func (s *Secrets) GoogleCloudRotateRoleset(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudRotateRoleset name: Name of the role.
func (*Secrets) GoogleCloudRotateRolesetKey ¶
func (s *Secrets) GoogleCloudRotateRolesetKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudRotateRolesetKey name: Name of the role.
func (*Secrets) GoogleCloudRotateRoot ¶
func (s *Secrets) GoogleCloudRotateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudRotateRoot
func (*Secrets) GoogleCloudRotateStaticAccountKey ¶
func (s *Secrets) GoogleCloudRotateStaticAccountKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudRotateStaticAccountKey name: Name of the account.
func (*Secrets) GoogleCloudWriteConfig ¶
func (s *Secrets) GoogleCloudWriteConfig(ctx context.Context, request schema.GoogleCloudWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudWriteConfig
func (*Secrets) GoogleCloudWriteKey ¶
func (s *Secrets) GoogleCloudWriteKey(ctx context.Context, roleset string, request schema.GoogleCloudWriteKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudWriteKey roleset: Required. Name of the role set.
func (*Secrets) GoogleCloudWriteRoleset ¶
func (s *Secrets) GoogleCloudWriteRoleset(ctx context.Context, name string, request schema.GoogleCloudWriteRolesetRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudWriteRoleset name: Required. Name of the role.
func (*Secrets) GoogleCloudWriteRolesetKey ¶
func (s *Secrets) GoogleCloudWriteRolesetKey(ctx context.Context, roleset string, request schema.GoogleCloudWriteRolesetKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudWriteRolesetKey roleset: Required. Name of the role set.
func (*Secrets) GoogleCloudWriteRolesetToken ¶
func (s *Secrets) GoogleCloudWriteRolesetToken(ctx context.Context, roleset string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudWriteRolesetToken roleset: Required. Name of the role set.
func (*Secrets) GoogleCloudWriteStaticAccount ¶
func (s *Secrets) GoogleCloudWriteStaticAccount(ctx context.Context, name string, request schema.GoogleCloudWriteStaticAccountRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudWriteStaticAccount name: Required. Name to refer to this static account in Vault. Cannot be updated.
func (*Secrets) GoogleCloudWriteStaticAccountKey ¶
func (s *Secrets) GoogleCloudWriteStaticAccountKey(ctx context.Context, name string, request schema.GoogleCloudWriteStaticAccountKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudWriteStaticAccountKey name: Required. Name of the static account.
func (*Secrets) GoogleCloudWriteStaticAccountToken ¶
func (s *Secrets) GoogleCloudWriteStaticAccountToken(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudWriteStaticAccountToken name: Required. Name of the static account.
func (*Secrets) GoogleCloudWriteToken ¶
func (s *Secrets) GoogleCloudWriteToken(ctx context.Context, roleset string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudWriteToken roleset: Required. Name of the role set.
func (*Secrets) KVv1Delete ¶
func (s *Secrets) KVv1Delete(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv1Delete Pass-through secret storage to the storage backend, allowing you to read/write arbitrary data into secret storage. path: Location of the secret.
func (*Secrets) KVv1Read ¶
func (s *Secrets) KVv1Read(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv1Read Pass-through secret storage to the storage backend, allowing you to read/write arbitrary data into secret storage. path: Location of the secret.
func (*Secrets) KVv1Write ¶
func (s *Secrets) KVv1Write(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv1Write Pass-through secret storage to the storage backend, allowing you to read/write arbitrary data into secret storage. path: Location of the secret.
func (*Secrets) KVv2Delete ¶
func (s *Secrets) KVv2Delete(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv2Delete Write, Patch, Read, and Delete data in the Key-Value Store. path: Location of the secret.
func (*Secrets) KVv2DeleteMetadata ¶
func (s *Secrets) KVv2DeleteMetadata(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv2DeleteMetadata Configures settings for the KV store path: Location of the secret.
func (*Secrets) KVv2DeleteVersions ¶
func (s *Secrets) KVv2DeleteVersions(ctx context.Context, path string, request schema.KVv2DeleteVersionsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv2DeleteVersions Marks one or more versions as deleted in the KV store. path: Location of the secret.
func (*Secrets) KVv2DestroyVersions ¶
func (s *Secrets) KVv2DestroyVersions(ctx context.Context, path string, request schema.KVv2DestroyVersionsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv2DestroyVersions Permanently removes one or more versions in the KV store path: Location of the secret.
func (*Secrets) KVv2Read ¶
func (s *Secrets) KVv2Read(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv2Read Write, Patch, Read, and Delete data in the Key-Value Store. path: Location of the secret.
func (*Secrets) KVv2ReadConfig ¶
func (s *Secrets) KVv2ReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv2ReadConfig Read the backend level settings.
func (*Secrets) KVv2ReadMetadata ¶
func (s *Secrets) KVv2ReadMetadata(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv2ReadMetadata Configures settings for the KV store path: Location of the secret.
func (*Secrets) KVv2ReadSubkeys ¶
func (s *Secrets) KVv2ReadSubkeys(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv2ReadSubkeys Read the structure of a secret entry from the Key-Value store with the values removed. path: Location of the secret.
func (*Secrets) KVv2UndeleteVersions ¶
func (s *Secrets) KVv2UndeleteVersions(ctx context.Context, path string, request schema.KVv2UndeleteVersionsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv2UndeleteVersions Undeletes one or more versions from the KV store. path: Location of the secret.
func (*Secrets) KVv2Write ¶
func (s *Secrets) KVv2Write(ctx context.Context, path string, request schema.KVv2WriteRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv2Write Write, Patch, Read, and Delete data in the Key-Value Store. path: Location of the secret.
func (*Secrets) KVv2WriteConfig ¶
func (s *Secrets) KVv2WriteConfig(ctx context.Context, request schema.KVv2WriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv2WriteConfig Configure backend level settings that are applied to every key in the key-value store.
func (*Secrets) KVv2WriteMetadata ¶
func (s *Secrets) KVv2WriteMetadata(ctx context.Context, path string, request schema.KVv2WriteMetadataRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KVv2WriteMetadata Configures settings for the KV store path: Location of the secret.
func (*Secrets) KubernetesDeleteConfig ¶
func (s *Secrets) KubernetesDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesDeleteConfig
func (*Secrets) KubernetesDeleteRole ¶
func (s *Secrets) KubernetesDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesDeleteRole name: Name of the role
func (*Secrets) KubernetesListRoles ¶
func (s *Secrets) KubernetesListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesListRoles
func (*Secrets) KubernetesReadConfig ¶
func (s *Secrets) KubernetesReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesReadConfig
func (*Secrets) KubernetesReadRole ¶
func (s *Secrets) KubernetesReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesReadRole name: Name of the role
func (*Secrets) KubernetesWriteConfig ¶
func (s *Secrets) KubernetesWriteConfig(ctx context.Context, request schema.KubernetesWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesWriteConfig
func (*Secrets) KubernetesWriteCredentials ¶
func (s *Secrets) KubernetesWriteCredentials(ctx context.Context, name string, request schema.KubernetesWriteCredentialsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesWriteCredentials name: Name of the Vault role
func (*Secrets) KubernetesWriteRole ¶
func (s *Secrets) KubernetesWriteRole(ctx context.Context, name string, request schema.KubernetesWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesWriteRole name: Name of the role
func (*Secrets) LDAPCheckInLibrary ¶
func (s *Secrets) LDAPCheckInLibrary(ctx context.Context, name string, request schema.LDAPCheckInLibraryRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPCheckInLibrary Check service accounts in to the library. name: Name of the set.
func (*Secrets) LDAPCheckInManageLibrary ¶
func (s *Secrets) LDAPCheckInManageLibrary(ctx context.Context, name string, request schema.LDAPCheckInManageLibraryRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPCheckInManageLibrary Check service accounts in to the library. name: Name of the set.
func (*Secrets) LDAPCheckOutLibrary ¶
func (s *Secrets) LDAPCheckOutLibrary(ctx context.Context, name string, request schema.LDAPCheckOutLibraryRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPCheckOutLibrary Check a service account out from the library. name: Name of the set
func (*Secrets) LDAPDeleteConfig ¶
func (s *Secrets) LDAPDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPDeleteConfig
func (*Secrets) LDAPDeleteLibrary ¶
func (s *Secrets) LDAPDeleteLibrary(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPDeleteLibrary Delete a library set. name: Name of the set.
func (*Secrets) LDAPDeleteRole ¶
func (s *Secrets) LDAPDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPDeleteRole name: Name of the role (lowercase)
func (*Secrets) LDAPDeleteStaticRole ¶
func (s *Secrets) LDAPDeleteStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPDeleteStaticRole name: Name of the role
func (*Secrets) LDAPListLibraries ¶
func (s *Secrets) LDAPListLibraries(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPListLibraries
func (*Secrets) LDAPListRoles ¶
func (s *Secrets) LDAPListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPListRoles
func (*Secrets) LDAPListStaticRoles ¶
func (s *Secrets) LDAPListStaticRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPListStaticRoles
func (*Secrets) LDAPReadConfig ¶
func (s *Secrets) LDAPReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPReadConfig
func (*Secrets) LDAPReadCredentials ¶
func (s *Secrets) LDAPReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPReadCredentials name: Name of the dynamic role.
func (*Secrets) LDAPReadLibrary ¶
func (s *Secrets) LDAPReadLibrary(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPReadLibrary Read a library set. name: Name of the set.
func (*Secrets) LDAPReadLibraryStatus ¶
func (s *Secrets) LDAPReadLibraryStatus(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPReadLibraryStatus Check the status of the service accounts in a library set. name: Name of the set.
func (*Secrets) LDAPReadRole ¶
func (s *Secrets) LDAPReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPReadRole name: Name of the role (lowercase)
func (*Secrets) LDAPReadStaticCredentials ¶
func (s *Secrets) LDAPReadStaticCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPReadStaticCredentials name: Name of the static role.
func (*Secrets) LDAPReadStaticRole ¶
func (s *Secrets) LDAPReadStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPReadStaticRole name: Name of the role
func (*Secrets) LDAPRotateRole ¶
func (s *Secrets) LDAPRotateRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPRotateRole name: Name of the static role
func (*Secrets) LDAPRotateRoot ¶
func (s *Secrets) LDAPRotateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPRotateRoot
func (*Secrets) LDAPWriteConfig ¶
func (s *Secrets) LDAPWriteConfig(ctx context.Context, request schema.LDAPWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPWriteConfig
func (*Secrets) LDAPWriteLibrary ¶
func (s *Secrets) LDAPWriteLibrary(ctx context.Context, name string, request schema.LDAPWriteLibraryRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPWriteLibrary Update a library set. name: Name of the set.
func (*Secrets) LDAPWriteRole ¶
func (s *Secrets) LDAPWriteRole(ctx context.Context, name string, request schema.LDAPWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPWriteRole name: Name of the role (lowercase)
func (*Secrets) LDAPWriteStaticRole ¶
func (s *Secrets) LDAPWriteStaticRole(ctx context.Context, name string, request schema.LDAPWriteStaticRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LDAPWriteStaticRole name: Name of the role
func (*Secrets) MongoDBAtlasDeleteRole ¶
func (s *Secrets) MongoDBAtlasDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
MongoDBAtlasDeleteRole Manage the roles used to generate MongoDB Atlas Programmatic API Keys. name: Name of the Roles
func (*Secrets) MongoDBAtlasListRoles ¶
func (s *Secrets) MongoDBAtlasListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
MongoDBAtlasListRoles List the existing roles in this backend
func (*Secrets) MongoDBAtlasReadConfig ¶
func (s *Secrets) MongoDBAtlasReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
MongoDBAtlasReadConfig Configure the credentials that are used to manage Database Users.
func (*Secrets) MongoDBAtlasReadCredentials ¶
func (s *Secrets) MongoDBAtlasReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
MongoDBAtlasReadCredentials Generate MongoDB Atlas Programmatic API from a specific Vault role. name: Name of the role
func (*Secrets) MongoDBAtlasReadRole ¶
func (s *Secrets) MongoDBAtlasReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
MongoDBAtlasReadRole Manage the roles used to generate MongoDB Atlas Programmatic API Keys. name: Name of the Roles
func (*Secrets) MongoDBAtlasWriteConfig ¶
func (s *Secrets) MongoDBAtlasWriteConfig(ctx context.Context, request schema.MongoDBAtlasWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MongoDBAtlasWriteConfig Configure the credentials that are used to manage Database Users.
func (*Secrets) MongoDBAtlasWriteCredentials ¶
func (s *Secrets) MongoDBAtlasWriteCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
MongoDBAtlasWriteCredentials Generate MongoDB Atlas Programmatic API from a specific Vault role. name: Name of the role
func (*Secrets) MongoDBAtlasWriteRole ¶
func (s *Secrets) MongoDBAtlasWriteRole(ctx context.Context, name string, request schema.MongoDBAtlasWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MongoDBAtlasWriteRole Manage the roles used to generate MongoDB Atlas Programmatic API Keys. name: Name of the Roles
func (*Secrets) NomadDeleteAccessConfig ¶
func (s *Secrets) NomadDeleteAccessConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadDeleteAccessConfig
func (*Secrets) NomadDeleteLeaseConfig ¶
func (s *Secrets) NomadDeleteLeaseConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadDeleteLeaseConfig Configure the lease parameters for generated tokens
func (*Secrets) NomadDeleteRole ¶
func (s *Secrets) NomadDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadDeleteRole name: Name of the role
func (*Secrets) NomadListRoles ¶
func (s *Secrets) NomadListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadListRoles
func (*Secrets) NomadReadAccessConfig ¶
func (s *Secrets) NomadReadAccessConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadReadAccessConfig
func (*Secrets) NomadReadCredentials ¶
func (s *Secrets) NomadReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadReadCredentials name: Name of the role
func (*Secrets) NomadReadLeaseConfig ¶
func (s *Secrets) NomadReadLeaseConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadReadLeaseConfig Configure the lease parameters for generated tokens
func (*Secrets) NomadReadRole ¶
func (s *Secrets) NomadReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadReadRole name: Name of the role
func (*Secrets) NomadWriteAccessConfig ¶
func (s *Secrets) NomadWriteAccessConfig(ctx context.Context, request schema.NomadWriteAccessConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadWriteAccessConfig
func (*Secrets) NomadWriteLeaseConfig ¶
func (s *Secrets) NomadWriteLeaseConfig(ctx context.Context, request schema.NomadWriteLeaseConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadWriteLeaseConfig Configure the lease parameters for generated tokens
func (*Secrets) NomadWriteRole ¶
func (s *Secrets) NomadWriteRole(ctx context.Context, name string, request schema.NomadWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadWriteRole name: Name of the role
func (*Secrets) OpenLDAPCheckInLibrary ¶
func (s *Secrets) OpenLDAPCheckInLibrary(ctx context.Context, name string, request schema.OpenLDAPCheckInLibraryRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPCheckInLibrary Check service accounts in to the library. name: Name of the set.
func (*Secrets) OpenLDAPCheckInManageLibrary ¶
func (s *Secrets) OpenLDAPCheckInManageLibrary(ctx context.Context, name string, request schema.OpenLDAPCheckInManageLibraryRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPCheckInManageLibrary Check service accounts in to the library. name: Name of the set.
func (*Secrets) OpenLDAPCheckOutLibrary ¶
func (s *Secrets) OpenLDAPCheckOutLibrary(ctx context.Context, name string, request schema.OpenLDAPCheckOutLibraryRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPCheckOutLibrary Check a service account out from the library. name: Name of the set
func (*Secrets) OpenLDAPDeleteConfig ¶
func (s *Secrets) OpenLDAPDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPDeleteConfig
func (*Secrets) OpenLDAPDeleteLibrary ¶
func (s *Secrets) OpenLDAPDeleteLibrary(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPDeleteLibrary Delete a library set. name: Name of the set.
func (*Secrets) OpenLDAPDeleteRole ¶
func (s *Secrets) OpenLDAPDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPDeleteRole name: Name of the role (lowercase)
func (*Secrets) OpenLDAPDeleteStaticRole ¶
func (s *Secrets) OpenLDAPDeleteStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPDeleteStaticRole name: Name of the role
func (*Secrets) OpenLDAPListLibraries ¶
func (s *Secrets) OpenLDAPListLibraries(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPListLibraries
func (*Secrets) OpenLDAPListRoles ¶
func (s *Secrets) OpenLDAPListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPListRoles
func (*Secrets) OpenLDAPListStaticRoles ¶
func (s *Secrets) OpenLDAPListStaticRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPListStaticRoles
func (*Secrets) OpenLDAPReadConfig ¶
func (s *Secrets) OpenLDAPReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPReadConfig
func (*Secrets) OpenLDAPReadCredentials ¶
func (s *Secrets) OpenLDAPReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPReadCredentials name: Name of the dynamic role.
func (*Secrets) OpenLDAPReadLibrary ¶
func (s *Secrets) OpenLDAPReadLibrary(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPReadLibrary Read a library set. name: Name of the set.
func (*Secrets) OpenLDAPReadLibraryStatus ¶
func (s *Secrets) OpenLDAPReadLibraryStatus(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPReadLibraryStatus Check the status of the service accounts in a library set. name: Name of the set.
func (*Secrets) OpenLDAPReadRole ¶
func (s *Secrets) OpenLDAPReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPReadRole name: Name of the role (lowercase)
func (*Secrets) OpenLDAPReadStaticCredentials ¶
func (s *Secrets) OpenLDAPReadStaticCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPReadStaticCredentials name: Name of the static role.
func (*Secrets) OpenLDAPReadStaticRole ¶
func (s *Secrets) OpenLDAPReadStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPReadStaticRole name: Name of the role
func (*Secrets) OpenLDAPRotateRole ¶
func (s *Secrets) OpenLDAPRotateRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPRotateRole name: Name of the static role
func (*Secrets) OpenLDAPRotateRoot ¶
func (s *Secrets) OpenLDAPRotateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPRotateRoot
func (*Secrets) OpenLDAPWriteConfig ¶
func (s *Secrets) OpenLDAPWriteConfig(ctx context.Context, request schema.OpenLDAPWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPWriteConfig
func (*Secrets) OpenLDAPWriteLibrary ¶
func (s *Secrets) OpenLDAPWriteLibrary(ctx context.Context, name string, request schema.OpenLDAPWriteLibraryRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPWriteLibrary Update a library set. name: Name of the set.
func (*Secrets) OpenLDAPWriteRole ¶
func (s *Secrets) OpenLDAPWriteRole(ctx context.Context, name string, request schema.OpenLDAPWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPWriteRole name: Name of the role (lowercase)
func (*Secrets) OpenLDAPWriteStaticRole ¶
func (s *Secrets) OpenLDAPWriteStaticRole(ctx context.Context, name string, request schema.OpenLDAPWriteStaticRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OpenLDAPWriteStaticRole name: Name of the role
func (*Secrets) PKIBundleWrite ¶
func (s *Secrets) PKIBundleWrite(ctx context.Context, request schema.PKIBundleWriteRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIBundleWrite
func (*Secrets) PKIDeleteKey ¶
func (s *Secrets) PKIDeleteKey(ctx context.Context, keyRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIDeleteKey keyRef: Reference to key; either \"default\" for the configured default key, an identifier of a key, or the name assigned to the key.
func (*Secrets) PKIDeleteRole ¶
func (s *Secrets) PKIDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIDeleteRole name: Name of the role
func (*Secrets) PKIDeleteRoot ¶
func (s *Secrets) PKIDeleteRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIDeleteRoot
func (*Secrets) PKIGenerateRoot ¶
func (s *Secrets) PKIGenerateRoot(ctx context.Context, exported string, request schema.PKIGenerateRootRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIGenerateRoot exported: Must be \"internal\", \"exported\" or \"kms\". If set to \"exported\", the generated private key will be returned. This is your *only* chance to retrieve the private key!
func (*Secrets) PKIImportKeys ¶
func (s *Secrets) PKIImportKeys(ctx context.Context, request schema.PKIImportKeysRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIImportKeys
func (*Secrets) PKIIssuerIssueRole ¶
func (s *Secrets) PKIIssuerIssueRole(ctx context.Context, issuerRef string, role string, request schema.PKIIssuerIssueRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIIssuerIssueRole issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer. role: The desired role with configuration for this request
func (*Secrets) PKIIssuerResignCRLs ¶
func (s *Secrets) PKIIssuerResignCRLs(ctx context.Context, issuerRef string, request schema.PKIIssuerResignCRLsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIIssuerResignCRLs issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PKIIssuerRevoke ¶
func (s *Secrets) PKIIssuerRevoke(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIIssuerRevoke issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PKIIssuerSignIntermediate ¶
func (s *Secrets) PKIIssuerSignIntermediate(ctx context.Context, issuerRef string, request schema.PKIIssuerSignIntermediateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIIssuerSignIntermediate issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PKIIssuerSignRevocationList ¶
func (s *Secrets) PKIIssuerSignRevocationList(ctx context.Context, issuerRef string, request schema.PKIIssuerSignRevocationListRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIIssuerSignRevocationList issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PKIIssuerSignRole ¶
func (s *Secrets) PKIIssuerSignRole(ctx context.Context, issuerRef string, role string, request schema.PKIIssuerSignRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIIssuerSignRole issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer. role: The desired role with configuration for this request
func (*Secrets) PKIIssuerSignSelfIssued ¶
func (s *Secrets) PKIIssuerSignSelfIssued(ctx context.Context, issuerRef string, request schema.PKIIssuerSignSelfIssuedRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIIssuerSignSelfIssued issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PKIIssuerSignVerbatim ¶
func (s *Secrets) PKIIssuerSignVerbatim(ctx context.Context, issuerRef string, request schema.PKIIssuerSignVerbatimRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIIssuerSignVerbatim issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PKIIssuerSignVerbatimRole ¶
func (s *Secrets) PKIIssuerSignVerbatimRole(ctx context.Context, issuerRef string, role string, request schema.PKIIssuerSignVerbatimRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIIssuerSignVerbatimRole issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer. role: The desired role with configuration for this request
func (*Secrets) PKIIssuersGenerateIntermediate ¶
func (s *Secrets) PKIIssuersGenerateIntermediate(ctx context.Context, exported string, request schema.PKIIssuersGenerateIntermediateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIIssuersGenerateIntermediate exported: Must be \"internal\", \"exported\" or \"kms\". If set to \"exported\", the generated private key will be returned. This is your *only* chance to retrieve the private key!
func (*Secrets) PKIIssuersGenerateRoot ¶
func (s *Secrets) PKIIssuersGenerateRoot(ctx context.Context, exported string, request schema.PKIIssuersGenerateRootRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIIssuersGenerateRoot exported: Must be \"internal\", \"exported\" or \"kms\". If set to \"exported\", the generated private key will be returned. This is your *only* chance to retrieve the private key!
func (*Secrets) PKIIssuersList ¶
func (s *Secrets) PKIIssuersList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIIssuersList
func (*Secrets) PKIListCerts ¶
func (s *Secrets) PKIListCerts(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIListCerts
func (*Secrets) PKIListCertsRevoked ¶
func (s *Secrets) PKIListCertsRevoked(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIListCertsRevoked
func (*Secrets) PKIListKeys ¶
func (s *Secrets) PKIListKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIListKeys
func (*Secrets) PKIListRoles ¶
func (s *Secrets) PKIListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIListRoles
func (*Secrets) PKIReadAutoTidyConfig ¶
func (s *Secrets) PKIReadAutoTidyConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadAutoTidyConfig
func (*Secrets) PKIReadCA ¶
func (s *Secrets) PKIReadCA(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadCA
func (*Secrets) PKIReadCAChain ¶
func (s *Secrets) PKIReadCAChain(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadCAChain
func (*Secrets) PKIReadCAPem ¶
func (s *Secrets) PKIReadCAPem(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadCAPem
func (*Secrets) PKIReadCRL ¶
func (s *Secrets) PKIReadCRL(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadCRL
func (*Secrets) PKIReadCRLConfig ¶
func (s *Secrets) PKIReadCRLConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadCRLConfig
func (*Secrets) PKIReadCRLRotate ¶
func (s *Secrets) PKIReadCRLRotate(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadCRLRotate
func (*Secrets) PKIReadCRLRotateDelta ¶
func (s *Secrets) PKIReadCRLRotateDelta(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadCRLRotateDelta
func (*Secrets) PKIReadCert ¶
func (s *Secrets) PKIReadCert(ctx context.Context, serial string, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadCert serial: Certificate serial number, in colon- or hyphen-separated octal
func (*Secrets) PKIReadCertCAChain ¶
func (s *Secrets) PKIReadCertCAChain(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadCertCAChain
func (*Secrets) PKIReadCertRaw ¶
func (s *Secrets) PKIReadCertRaw(ctx context.Context, serial string, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadCertRaw serial: Certificate serial number, in colon- or hyphen-separated octal
func (*Secrets) PKIReadCertRawPem ¶
func (s *Secrets) PKIReadCertRawPem(ctx context.Context, serial string, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadCertRawPem serial: Certificate serial number, in colon- or hyphen-separated octal
func (*Secrets) PKIReadClusterConfig ¶
func (s *Secrets) PKIReadClusterConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadClusterConfig
func (*Secrets) PKIReadDeltaCRL ¶
func (s *Secrets) PKIReadDeltaCRL(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadDeltaCRL
func (*Secrets) PKIReadIssuersConfig ¶
func (s *Secrets) PKIReadIssuersConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadIssuersConfig
func (*Secrets) PKIReadKey ¶
func (s *Secrets) PKIReadKey(ctx context.Context, keyRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadKey keyRef: Reference to key; either \"default\" for the configured default key, an identifier of a key, or the name assigned to the key.
func (*Secrets) PKIReadKeysConfig ¶
func (s *Secrets) PKIReadKeysConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadKeysConfig
func (*Secrets) PKIReadOCSPReq ¶
func (s *Secrets) PKIReadOCSPReq(ctx context.Context, req string, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadOCSPReq req: base-64 encoded ocsp request
func (*Secrets) PKIReadRole ¶
func (s *Secrets) PKIReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadRole name: Name of the role
func (*Secrets) PKIReadURLConfig ¶
func (s *Secrets) PKIReadURLConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReadURLConfig
func (*Secrets) PKIReplaceRoot ¶
func (s *Secrets) PKIReplaceRoot(ctx context.Context, request schema.PKIReplaceRootRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIReplaceRoot
func (*Secrets) PKIRevoke ¶
func (s *Secrets) PKIRevoke(ctx context.Context, request schema.PKIRevokeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIRevoke
func (*Secrets) PKIRevokeWithKey ¶
func (s *Secrets) PKIRevokeWithKey(ctx context.Context, request schema.PKIRevokeWithKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIRevokeWithKey
func (*Secrets) PKIRootSignIntermediate ¶
func (s *Secrets) PKIRootSignIntermediate(ctx context.Context, request schema.PKIRootSignIntermediateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIRootSignIntermediate
func (*Secrets) PKIRootSignSelfIssued ¶
func (s *Secrets) PKIRootSignSelfIssued(ctx context.Context, request schema.PKIRootSignSelfIssuedRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIRootSignSelfIssued
func (*Secrets) PKIRotateRoot ¶
func (s *Secrets) PKIRotateRoot(ctx context.Context, exported string, request schema.PKIRotateRootRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIRotateRoot exported: Must be \"internal\", \"exported\" or \"kms\". If set to \"exported\", the generated private key will be returned. This is your *only* chance to retrieve the private key!
func (*Secrets) PKISignRole ¶
func (s *Secrets) PKISignRole(ctx context.Context, role string, request schema.PKISignRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKISignRole role: The desired role with configuration for this request
func (*Secrets) PKISignVerbatim ¶
func (s *Secrets) PKISignVerbatim(ctx context.Context, request schema.PKISignVerbatimRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKISignVerbatim
func (*Secrets) PKISignVerbatimRole ¶
func (s *Secrets) PKISignVerbatimRole(ctx context.Context, role string, request schema.PKISignVerbatimRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKISignVerbatimRole role: The desired role with configuration for this request
func (*Secrets) PKITidy ¶
func (s *Secrets) PKITidy(ctx context.Context, request schema.PKITidyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKITidy
func (*Secrets) PKITidyCancel ¶
func (s *Secrets) PKITidyCancel(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKITidyCancel
func (*Secrets) PKITidyStatus ¶
func (s *Secrets) PKITidyStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKITidyStatus
func (*Secrets) PKIWriteAutoTidyConfig ¶
func (s *Secrets) PKIWriteAutoTidyConfig(ctx context.Context, request schema.PKIWriteAutoTidyConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteAutoTidyConfig
func (*Secrets) PKIWriteCAConfig ¶
func (s *Secrets) PKIWriteCAConfig(ctx context.Context, request schema.PKIWriteCAConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteCAConfig
func (*Secrets) PKIWriteCRLConfig ¶
func (s *Secrets) PKIWriteCRLConfig(ctx context.Context, request schema.PKIWriteCRLConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteCRLConfig
func (*Secrets) PKIWriteCerts ¶
func (s *Secrets) PKIWriteCerts(ctx context.Context, request schema.PKIWriteCertsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteCerts
func (*Secrets) PKIWriteClusterConfig ¶
func (s *Secrets) PKIWriteClusterConfig(ctx context.Context, request schema.PKIWriteClusterConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteClusterConfig
func (*Secrets) PKIWriteIntermediateCrossSign ¶
func (s *Secrets) PKIWriteIntermediateCrossSign(ctx context.Context, request schema.PKIWriteIntermediateCrossSignRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteIntermediateCrossSign
func (*Secrets) PKIWriteIntermediateGenerate ¶
func (s *Secrets) PKIWriteIntermediateGenerate(ctx context.Context, exported string, request schema.PKIWriteIntermediateGenerateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteIntermediateGenerate exported: Must be \"internal\", \"exported\" or \"kms\". If set to \"exported\", the generated private key will be returned. This is your *only* chance to retrieve the private key!
func (*Secrets) PKIWriteIntermediateSetSigned ¶
func (s *Secrets) PKIWriteIntermediateSetSigned(ctx context.Context, request schema.PKIWriteIntermediateSetSignedRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteIntermediateSetSigned
func (*Secrets) PKIWriteInternalExported ¶
func (s *Secrets) PKIWriteInternalExported(ctx context.Context, request schema.PKIWriteInternalExportedRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteInternalExported
func (*Secrets) PKIWriteIssueRole ¶
func (s *Secrets) PKIWriteIssueRole(ctx context.Context, role string, request schema.PKIWriteIssueRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteIssueRole role: The desired role with configuration for this request
func (*Secrets) PKIWriteIssuersConfig ¶
func (s *Secrets) PKIWriteIssuersConfig(ctx context.Context, request schema.PKIWriteIssuersConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteIssuersConfig
func (*Secrets) PKIWriteKMS ¶
func (s *Secrets) PKIWriteKMS(ctx context.Context, request schema.PKIWriteKMSRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteKMS
func (*Secrets) PKIWriteKey ¶
func (s *Secrets) PKIWriteKey(ctx context.Context, keyRef string, request schema.PKIWriteKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteKey keyRef: Reference to key; either \"default\" for the configured default key, an identifier of a key, or the name assigned to the key.
func (*Secrets) PKIWriteKeysConfig ¶
func (s *Secrets) PKIWriteKeysConfig(ctx context.Context, request schema.PKIWriteKeysConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteKeysConfig
func (*Secrets) PKIWriteOCSP ¶
func (s *Secrets) PKIWriteOCSP(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteOCSP
func (*Secrets) PKIWriteRole ¶
func (s *Secrets) PKIWriteRole(ctx context.Context, name string, request schema.PKIWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteRole name: Name of the role
func (*Secrets) PKIWriteURLConfig ¶
func (s *Secrets) PKIWriteURLConfig(ctx context.Context, request schema.PKIWriteURLConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PKIWriteURLConfig
func (*Secrets) PkiDeleteIssuerRefDerPem ¶
func (s *Secrets) PkiDeleteIssuerRefDerPem(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiDeleteIssuerRefDerPem issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiDeleteJson ¶
func (s *Secrets) PkiDeleteJson(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiDeleteJson
func (*Secrets) PkiReadDelta ¶
func (s *Secrets) PkiReadDelta(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadDelta
func (*Secrets) PkiReadDeltaPem ¶
func (s *Secrets) PkiReadDeltaPem(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadDeltaPem
func (*Secrets) PkiReadDer ¶
func (s *Secrets) PkiReadDer(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadDer
func (*Secrets) PkiReadIssuerRefCrlPemDerDeltaPem ¶
func (s *Secrets) PkiReadIssuerRefCrlPemDerDeltaPem(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadIssuerRefCrlPemDerDeltaPem issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiReadIssuerRefDerPem ¶
func (s *Secrets) PkiReadIssuerRefDerPem(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadIssuerRefDerPem issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiReadJson ¶
func (s *Secrets) PkiReadJson(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadJson
func (*Secrets) PkiReadPem ¶
func (s *Secrets) PkiReadPem(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadPem
func (*Secrets) PkiWriteIssuerRefDerPem ¶
func (s *Secrets) PkiWriteIssuerRefDerPem(ctx context.Context, issuerRef string, request schema.PkiWriteIssuerRefDerPemRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerRefDerPem issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiWriteJson ¶
func (s *Secrets) PkiWriteJson(ctx context.Context, request schema.PkiWriteJsonRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteJson
func (*Secrets) RabbitMQDeleteRole ¶
func (s *Secrets) RabbitMQDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
RabbitMQDeleteRole Manage the roles that can be created with this backend. name: Name of the role.
func (*Secrets) RabbitMQListRoles ¶
func (s *Secrets) RabbitMQListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
RabbitMQListRoles Manage the roles that can be created with this backend.
func (*Secrets) RabbitMQReadCredentials ¶
func (s *Secrets) RabbitMQReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
RabbitMQReadCredentials Request RabbitMQ credentials for a certain role. name: Name of the role.
func (*Secrets) RabbitMQReadLeaseConfig ¶
func (s *Secrets) RabbitMQReadLeaseConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
RabbitMQReadLeaseConfig Configure the lease parameters for generated credentials
func (*Secrets) RabbitMQReadRole ¶
func (s *Secrets) RabbitMQReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
RabbitMQReadRole Manage the roles that can be created with this backend. name: Name of the role.
func (*Secrets) RabbitMQWriteConnectionConfig ¶
func (s *Secrets) RabbitMQWriteConnectionConfig(ctx context.Context, request schema.RabbitMQWriteConnectionConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RabbitMQWriteConnectionConfig Configure the connection URI, username, and password to talk to RabbitMQ management HTTP API.
func (*Secrets) RabbitMQWriteLeaseConfig ¶
func (s *Secrets) RabbitMQWriteLeaseConfig(ctx context.Context, request schema.RabbitMQWriteLeaseConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RabbitMQWriteLeaseConfig Configure the lease parameters for generated credentials
func (*Secrets) RabbitMQWriteRole ¶
func (s *Secrets) RabbitMQWriteRole(ctx context.Context, name string, request schema.RabbitMQWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RabbitMQWriteRole Manage the roles that can be created with this backend. name: Name of the role.
func (*Secrets) SSHDeleteCAConfig ¶
func (s *Secrets) SSHDeleteCAConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHDeleteCAConfig Set the SSH private key used for signing certificates.
func (*Secrets) SSHDeleteKeys ¶
func (s *Secrets) SSHDeleteKeys(ctx context.Context, keyName string, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHDeleteKeys Register a shared private key with Vault. keyName: [Required] Name of the key
func (*Secrets) SSHDeleteRole ¶
func (s *Secrets) SSHDeleteRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHDeleteRole Manage the 'roles' that can be created with this backend. role: [Required for all types] Name of the role being created.
func (*Secrets) SSHDeleteZeroAddressConfig ¶
func (s *Secrets) SSHDeleteZeroAddressConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHDeleteZeroAddressConfig Assign zero address as default CIDR block for select roles.
func (*Secrets) SSHListRoles ¶
func (s *Secrets) SSHListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHListRoles Manage the 'roles' that can be created with this backend.
func (*Secrets) SSHLookup ¶
func (s *Secrets) SSHLookup(ctx context.Context, request schema.SSHLookupRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHLookup List all the roles associated with the given IP address.
func (*Secrets) SSHReadCAConfig ¶
func (s *Secrets) SSHReadCAConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHReadCAConfig Set the SSH private key used for signing certificates.
func (*Secrets) SSHReadPublicKey ¶
func (s *Secrets) SSHReadPublicKey(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHReadPublicKey Retrieve the public key.
func (*Secrets) SSHReadRole ¶
func (s *Secrets) SSHReadRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHReadRole Manage the 'roles' that can be created with this backend. role: [Required for all types] Name of the role being created.
func (*Secrets) SSHReadZeroAddressConfig ¶
func (s *Secrets) SSHReadZeroAddressConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHReadZeroAddressConfig Assign zero address as default CIDR block for select roles.
func (*Secrets) SSHSign ¶
func (s *Secrets) SSHSign(ctx context.Context, role string, request schema.SSHSignRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHSign Request signing an SSH key using a certain role with the provided details. role: The desired role with configuration for this request.
func (*Secrets) SSHVerify ¶
func (s *Secrets) SSHVerify(ctx context.Context, request schema.SSHVerifyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHVerify Validate the OTP provided by Vault SSH Agent.
func (*Secrets) SSHWriteCAConfig ¶
func (s *Secrets) SSHWriteCAConfig(ctx context.Context, request schema.SSHWriteCAConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHWriteCAConfig Set the SSH private key used for signing certificates.
func (*Secrets) SSHWriteCredentials ¶
func (s *Secrets) SSHWriteCredentials(ctx context.Context, role string, request schema.SSHWriteCredentialsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHWriteCredentials Creates a credential for establishing SSH connection with the remote host. role: [Required] Name of the role
func (*Secrets) SSHWriteIssue ¶
func (s *Secrets) SSHWriteIssue(ctx context.Context, role string, request schema.SSHWriteIssueRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHWriteIssue role: The desired role with configuration for this request.
func (*Secrets) SSHWriteKeys ¶
func (s *Secrets) SSHWriteKeys(ctx context.Context, keyName string, request schema.SSHWriteKeysRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHWriteKeys Register a shared private key with Vault. keyName: [Required] Name of the key
func (*Secrets) SSHWriteRole ¶
func (s *Secrets) SSHWriteRole(ctx context.Context, role string, request schema.SSHWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHWriteRole Manage the 'roles' that can be created with this backend. role: [Required for all types] Name of the role being created.
func (*Secrets) SSHWriteZeroAddressConfig ¶
func (s *Secrets) SSHWriteZeroAddressConfig(ctx context.Context, request schema.SSHWriteZeroAddressConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SSHWriteZeroAddressConfig Assign zero address as default CIDR block for select roles.
func (*Secrets) TOTPDeleteKey ¶
func (s *Secrets) TOTPDeleteKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TOTPDeleteKey Manage the keys that can be created with this backend. name: Name of the key.
func (*Secrets) TOTPListKeys ¶
func (s *Secrets) TOTPListKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TOTPListKeys Manage the keys that can be created with this backend.
func (*Secrets) TOTPReadCode ¶
func (s *Secrets) TOTPReadCode(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TOTPReadCode Request time-based one-time use password or validate a password for a certain key . name: Name of the key.
func (*Secrets) TOTPReadKey ¶
func (s *Secrets) TOTPReadKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TOTPReadKey Manage the keys that can be created with this backend. name: Name of the key.
func (*Secrets) TOTPWriteCode ¶
func (s *Secrets) TOTPWriteCode(ctx context.Context, name string, request schema.TOTPWriteCodeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TOTPWriteCode Request time-based one-time use password or validate a password for a certain key . name: Name of the key.
func (*Secrets) TOTPWriteKey ¶
func (s *Secrets) TOTPWriteKey(ctx context.Context, name string, request schema.TOTPWriteKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TOTPWriteKey Manage the keys that can be created with this backend. name: Name of the key.
func (*Secrets) TerraformDeleteConfig ¶
func (s *Secrets) TerraformDeleteConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformDeleteConfig
func (*Secrets) TerraformDeleteRole ¶
func (s *Secrets) TerraformDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformDeleteRole name: Name of the role
func (*Secrets) TerraformListRoles ¶
func (s *Secrets) TerraformListRoles(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformListRoles
func (*Secrets) TerraformReadConfig ¶
func (s *Secrets) TerraformReadConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformReadConfig
func (*Secrets) TerraformReadCredentials ¶
func (s *Secrets) TerraformReadCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformReadCredentials Generate a Terraform Cloud or Enterprise API token from a specific Vault role. name: Name of the role
func (*Secrets) TerraformReadRole ¶
func (s *Secrets) TerraformReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformReadRole name: Name of the role
func (*Secrets) TerraformRotateRole ¶
func (s *Secrets) TerraformRotateRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformRotateRole name: Name of the team or organization role
func (*Secrets) TerraformWriteConfig ¶
func (s *Secrets) TerraformWriteConfig(ctx context.Context, request schema.TerraformWriteConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformWriteConfig
func (*Secrets) TerraformWriteCredentials ¶
func (s *Secrets) TerraformWriteCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformWriteCredentials Generate a Terraform Cloud or Enterprise API token from a specific Vault role. name: Name of the role
func (*Secrets) TerraformWriteRole ¶
func (s *Secrets) TerraformWriteRole(ctx context.Context, name string, request schema.TerraformWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformWriteRole name: Name of the role
func (*Secrets) TransitBackup ¶
func (s *Secrets) TransitBackup(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitBackup Backup the named key name: Name of the key
func (*Secrets) TransitDecrypt ¶
func (s *Secrets) TransitDecrypt(ctx context.Context, name string, request schema.TransitDecryptRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitDecrypt Decrypt a ciphertext value using a named key name: Name of the key
func (*Secrets) TransitDeleteKey ¶
func (s *Secrets) TransitDeleteKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitDeleteKey Managed named encryption keys name: Name of the key
func (*Secrets) TransitEncrypt ¶
func (s *Secrets) TransitEncrypt(ctx context.Context, name string, request schema.TransitEncryptRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitEncrypt Encrypt a plaintext value or a batch of plaintext blocks using a named key name: Name of the key
func (*Secrets) TransitExport ¶
func (s *Secrets) TransitExport(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitExport Export named encryption or signing key name: Name of the key type_: Type of key to export (encryption-key, signing-key, hmac-key)
func (*Secrets) TransitExportVersion ¶
func (s *Secrets) TransitExportVersion(ctx context.Context, name string, type_ string, version string, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitExportVersion Export named encryption or signing key name: Name of the key type_: Type of key to export (encryption-key, signing-key, hmac-key) version: Version of the key
func (*Secrets) TransitGenerateDataKey ¶
func (s *Secrets) TransitGenerateDataKey(ctx context.Context, name string, plaintext string, request schema.TransitGenerateDataKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitGenerateDataKey Generate a data key name: The backend key used for encrypting the data key plaintext: \"plaintext\" will return the key in both plaintext and ciphertext; \"wrapped\" will return the ciphertext only.
func (*Secrets) TransitGenerateHMAC ¶
func (s *Secrets) TransitGenerateHMAC(ctx context.Context, name string, request schema.TransitGenerateHMACRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitGenerateHMAC Generate an HMAC for input data using the named key name: The key to use for the HMAC function
func (*Secrets) TransitGenerateHMACWithAlgorithm ¶
func (s *Secrets) TransitGenerateHMACWithAlgorithm(ctx context.Context, name string, urlalgorithm string, request schema.TransitGenerateHMACWithAlgorithmRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitGenerateHMACWithAlgorithm Generate an HMAC for input data using the named key name: The key to use for the HMAC function urlalgorithm: Algorithm to use (POST URL parameter)
func (*Secrets) TransitGenerateRandom ¶
func (s *Secrets) TransitGenerateRandom(ctx context.Context, request schema.TransitGenerateRandomRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitGenerateRandom Generate random bytes
func (*Secrets) TransitGenerateRandomSource ¶
func (s *Secrets) TransitGenerateRandomSource(ctx context.Context, source string, request schema.TransitGenerateRandomSourceRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitGenerateRandomSource Generate random bytes source: Which system to source random data from, ether \"platform\", \"seal\", or \"all\".
func (*Secrets) TransitGenerateRandomSourceBytes ¶
func (s *Secrets) TransitGenerateRandomSourceBytes(ctx context.Context, source string, urlbytes string, request schema.TransitGenerateRandomSourceBytesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitGenerateRandomSourceBytes Generate random bytes source: Which system to source random data from, ether \"platform\", \"seal\", or \"all\". urlbytes: The number of bytes to generate (POST URL parameter)
func (*Secrets) TransitHash ¶
func (s *Secrets) TransitHash(ctx context.Context, request schema.TransitHashRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitHash Generate a hash sum for input data
func (*Secrets) TransitHashWithAlgorithm ¶
func (s *Secrets) TransitHashWithAlgorithm(ctx context.Context, urlalgorithm string, request schema.TransitHashWithAlgorithmRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitHashWithAlgorithm Generate a hash sum for input data urlalgorithm: Algorithm to use (POST URL parameter)
func (*Secrets) TransitImportKey ¶
func (s *Secrets) TransitImportKey(ctx context.Context, name string, request schema.TransitImportKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitImportKey Imports an externally-generated key into a new transit key name: The name of the key
func (*Secrets) TransitImportKeyVersion ¶
func (s *Secrets) TransitImportKeyVersion(ctx context.Context, name string, request schema.TransitImportKeyVersionRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitImportKeyVersion Imports an externally-generated key into an existing imported key name: The name of the key
func (*Secrets) TransitListKeys ¶
func (s *Secrets) TransitListKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitListKeys Managed named encryption keys
func (*Secrets) TransitReadCacheConfig ¶
func (s *Secrets) TransitReadCacheConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitReadCacheConfig Returns the size of the active cache
func (*Secrets) TransitReadConfigKeys ¶
func (s *Secrets) TransitReadConfigKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitReadConfigKeys Configuration common across all keys
func (*Secrets) TransitReadKey ¶
func (s *Secrets) TransitReadKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitReadKey Managed named encryption keys name: Name of the key
func (*Secrets) TransitReadWrappingKey ¶
func (s *Secrets) TransitReadWrappingKey(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitReadWrappingKey Returns the public key to use for wrapping imported keys
func (*Secrets) TransitRestore ¶
func (s *Secrets) TransitRestore(ctx context.Context, request schema.TransitRestoreRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitRestore Restore the named key
func (*Secrets) TransitRestoreKey ¶
func (s *Secrets) TransitRestoreKey(ctx context.Context, name string, request schema.TransitRestoreKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitRestoreKey Restore the named key name: If set, this will be the name of the restored key.
func (*Secrets) TransitRewrap ¶
func (s *Secrets) TransitRewrap(ctx context.Context, name string, request schema.TransitRewrapRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitRewrap Rewrap ciphertext name: Name of the key
func (*Secrets) TransitRotateKey ¶
func (s *Secrets) TransitRotateKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitRotateKey Rotate named encryption key name: Name of the key
func (*Secrets) TransitSign ¶
func (s *Secrets) TransitSign(ctx context.Context, name string, request schema.TransitSignRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitSign Generate a signature for input data using the named key name: The key to use
func (*Secrets) TransitSignWithAlgorithm ¶
func (s *Secrets) TransitSignWithAlgorithm(ctx context.Context, name string, urlalgorithm string, request schema.TransitSignWithAlgorithmRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitSignWithAlgorithm Generate a signature for input data using the named key name: The key to use urlalgorithm: Hash algorithm to use (POST URL parameter)
func (*Secrets) TransitTrimKey ¶
func (s *Secrets) TransitTrimKey(ctx context.Context, name string, request schema.TransitTrimKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitTrimKey Trim key versions of a named key name: Name of the key
func (*Secrets) TransitVerify ¶
func (s *Secrets) TransitVerify(ctx context.Context, name string, request schema.TransitVerifyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitVerify Verify a signature or HMAC for input data created using the named key name: The key to use
func (*Secrets) TransitVerifyWithAlgorithm ¶
func (s *Secrets) TransitVerifyWithAlgorithm(ctx context.Context, name string, urlalgorithm string, request schema.TransitVerifyWithAlgorithmRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitVerifyWithAlgorithm Verify a signature or HMAC for input data created using the named key name: The key to use urlalgorithm: Hash algorithm to use (POST URL parameter)
func (*Secrets) TransitWriteCacheConfig ¶
func (s *Secrets) TransitWriteCacheConfig(ctx context.Context, request schema.TransitWriteCacheConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitWriteCacheConfig Configures a new cache of the specified size
func (*Secrets) TransitWriteConfigKeys ¶
func (s *Secrets) TransitWriteConfigKeys(ctx context.Context, request schema.TransitWriteConfigKeysRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitWriteConfigKeys Configuration common across all keys
func (*Secrets) TransitWriteKey ¶
func (s *Secrets) TransitWriteKey(ctx context.Context, name string, request schema.TransitWriteKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitWriteKey Managed named encryption keys name: Name of the key
func (*Secrets) TransitWriteKeyConfig ¶
func (s *Secrets) TransitWriteKeyConfig(ctx context.Context, name string, request schema.TransitWriteKeyConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitWriteKeyConfig Configure a named encryption key name: Name of the key
func (*Secrets) TransitWriteRandomUrlbytes ¶
func (s *Secrets) TransitWriteRandomUrlbytes(ctx context.Context, urlbytes string, request schema.TransitWriteRandomUrlbytesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitWriteRandomUrlbytes Generate random bytes urlbytes: The number of bytes to generate (POST URL parameter)
type ServerCertificateEntry ¶
type ServerCertificateEntry struct { // FromFile is the path to a PEM-encoded CA certificate file or bundle. // Default: "", takes precedence over 'FromBytes' and 'FromDirectory'. FromFile string `env:"VAULT_CACERT"` // FromBytes is PEM-encoded CA certificate data. // Default: nil, takes precedence over 'FromDirectory'. FromBytes []byte `env:"VAULT_CACERT_BYTES"` // FromDirectory is the path to a directory populated with PEM-encoded // certificates. // Default: "" FromDirectory string `env:"VAULT_CAPATH"` }
type System ¶
type System struct {
// contains filtered or unexported fields
}
System is a simple wrapper around the client for System requests
func (*System) CalculateAuditHash ¶
func (s *System) CalculateAuditHash(ctx context.Context, path string, request schema.CalculateAuditHashRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CalculateAuditHash The hash of the given string via the given audit backend path: The name of the backend. Cannot be delimited. Example: \"mysql\"
func (*System) DeleteAuditDevice ¶
func (s *System) DeleteAuditDevice(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteAuditDevice Disable the audit device at the given path. path: The name of the backend. Cannot be delimited. Example: \"mysql\"
func (*System) DeleteAuthMethod ¶
func (s *System) DeleteAuthMethod(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteAuthMethod Disable the auth method at the given auth path path: The path to mount to. Cannot be delimited. Example: \"user\"
func (*System) DeleteConfigAuditingRequestHeader ¶
func (s *System) DeleteConfigAuditingRequestHeader(ctx context.Context, header string, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteConfigAuditingRequestHeader Disable auditing of the given request header.
func (*System) DeleteConfigCORS ¶
func (s *System) DeleteConfigCORS(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteConfigCORS Remove any CORS settings.
func (*System) DeleteConfigUIHeader ¶
func (s *System) DeleteConfigUIHeader(ctx context.Context, header string, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteConfigUIHeader Remove a UI header. header: The name of the header.
func (*System) DeleteGenerateRoot ¶
func (s *System) DeleteGenerateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteGenerateRoot Cancels any in-progress root generation attempt.
func (*System) DeleteGenerateRootAttempt ¶
func (s *System) DeleteGenerateRootAttempt(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteGenerateRootAttempt Cancels any in-progress root generation attempt.
func (*System) DeleteLogger ¶
func (s *System) DeleteLogger(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteLogger Revert a single logger to use log level provided in config. name: The name of the logger to be modified.
func (*System) DeleteLoggers ¶
func (s *System) DeleteLoggers(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteLoggers Revert the all loggers to use log level provided in config.
func (*System) DeleteMount ¶
func (s *System) DeleteMount(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteMount Disable the mount point specified at the given path. path: The path to mount to. Example: \"aws/east\"
func (*System) DeletePluginsCatalogByTypeByName ¶
func (s *System) DeletePluginsCatalogByTypeByName(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[map[string]interface{}], error)
DeletePluginsCatalogByTypeByName Remove the plugin with the given name. name: The name of the plugin type_: The type of the plugin, may be auth, secret, or database
func (*System) DeletePoliciesACL ¶
func (s *System) DeletePoliciesACL(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DeletePoliciesACL Delete the ACL policy with the given name. name: The name of the policy. Example: \"ops\"
func (*System) DeletePoliciesPassword ¶
func (s *System) DeletePoliciesPassword(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DeletePoliciesPassword Delete a password policy. name: The name of the password policy.
func (*System) DeletePolicy ¶
func (s *System) DeletePolicy(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DeletePolicy Delete the policy with the given name. name: The name of the policy. Example: \"ops\"
func (*System) DeleteQuotasRateLimit ¶
func (s *System) DeleteQuotasRateLimit(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteQuotasRateLimit name: Name of the quota rule.
func (*System) DeleteRaw ¶
func (s *System) DeleteRaw(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteRaw Delete the key with given path.
func (*System) DeleteRawPath ¶
func (s *System) DeleteRawPath(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteRawPath Delete the key with given path.
func (*System) DeleteRekeyBackup ¶
func (s *System) DeleteRekeyBackup(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteRekeyBackup Delete the backup copy of PGP-encrypted unseal keys.
func (*System) DeleteRekeyInit ¶
func (s *System) DeleteRekeyInit(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteRekeyInit Cancels any in-progress rekey. This clears the rekey settings as well as any progress made. This must be called to change the parameters of the rekey. Note: verification is still a part of a rekey. If rekeying is canceled during the verification flow, the current unseal keys remain valid.
func (*System) DeleteRekeyRecoveryKeyBackup ¶
func (s *System) DeleteRekeyRecoveryKeyBackup(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteRekeyRecoveryKeyBackup Allows fetching or deleting the backup of the rotated unseal keys.
func (*System) DeleteRekeyVerify ¶
func (s *System) DeleteRekeyVerify(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
DeleteRekeyVerify Cancel any in-progress rekey verification operation. This clears any progress made and resets the nonce. Unlike a `DELETE` against `sys/rekey/init`, this only resets the current verification operation, not the entire rekey atttempt.
func (*System) ListConfigUIHeaders ¶
func (s *System) ListConfigUIHeaders(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ListConfigUIHeaders Return a list of configured UI headers.
func (*System) ListLeasesLookupPrefix ¶
func (s *System) ListLeasesLookupPrefix(ctx context.Context, prefix string, options ...RequestOption) (*Response[map[string]interface{}], error)
ListLeasesLookupPrefix Returns a list of lease ids. prefix: The path to list leases under. Example: \"aws/creds/deploy\"
func (*System) ListPluginsCatalogByType ¶
func (s *System) ListPluginsCatalogByType(ctx context.Context, type_ string, options ...RequestOption) (*Response[map[string]interface{}], error)
ListPluginsCatalogByType List the plugins in the catalog. type_: The type of the plugin, may be auth, secret, or database
func (*System) ListPoliciesACL ¶
func (s *System) ListPoliciesACL(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ListPoliciesACL List the configured access control policies.
func (*System) ListPoliciesPassword ¶
func (s *System) ListPoliciesPassword(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ListPoliciesPassword List the existing password policies.
func (*System) ListQuotasRateLimits ¶
func (s *System) ListQuotasRateLimits(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ListQuotasRateLimits
func (*System) ListVersionHistory ¶
func (s *System) ListVersionHistory(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ListVersionHistory Returns map of historical version change entries
func (*System) MFAValidate ¶
func (s *System) MFAValidate(ctx context.Context, request schema.MFAValidateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MFAValidate Validates the login for the given MFA methods. Upon successful validation, it returns an auth response containing the client token
func (*System) Monitor ¶
func (s *System) Monitor(ctx context.Context, logFormat string, logLevel string, options ...RequestOption) (*Response[map[string]interface{}], error)
Monitor logFormat: Output format of logs. Supported values are \"standard\" and \"json\". The default is \"standard\". logLevel: Log level to view system logs at. Currently supported values are \"trace\", \"debug\", \"info\", \"warn\", \"error\".
func (*System) PprofRead ¶
func (s *System) PprofRead(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofRead Returns an HTML page listing the available profiles. Returns an HTML page listing the available profiles. This should be mainly accessed via browsers or applications that can render pages.
func (*System) PprofReadAllocs ¶
func (s *System) PprofReadAllocs(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofReadAllocs Returns a sampling of all past memory allocations. Returns a sampling of all past memory allocations.
func (*System) PprofReadBlock ¶
func (s *System) PprofReadBlock(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofReadBlock Returns stack traces that led to blocking on synchronization primitives Returns stack traces that led to blocking on synchronization primitives
func (*System) PprofReadCmdline ¶
func (s *System) PprofReadCmdline(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofReadCmdline Returns the running program's command line. Returns the running program's command line, with arguments separated by NUL bytes.
func (*System) PprofReadGoroutine ¶
func (s *System) PprofReadGoroutine(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofReadGoroutine Returns stack traces of all current goroutines. Returns stack traces of all current goroutines.
func (*System) PprofReadHeap ¶
func (s *System) PprofReadHeap(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofReadHeap Returns a sampling of memory allocations of live object. Returns a sampling of memory allocations of live object.
func (*System) PprofReadMutex ¶
func (s *System) PprofReadMutex(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofReadMutex Returns stack traces of holders of contended mutexes Returns stack traces of holders of contended mutexes
func (*System) PprofReadProfile ¶
func (s *System) PprofReadProfile(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofReadProfile Returns a pprof-formatted cpu profile payload. Returns a pprof-formatted cpu profile payload. Profiling lasts for duration specified in seconds GET parameter, or for 30 seconds if not specified.
func (*System) PprofReadSymbol ¶
func (s *System) PprofReadSymbol(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofReadSymbol Returns the program counters listed in the request. Returns the program counters listed in the request.
func (*System) PprofReadThreadcreate ¶
func (s *System) PprofReadThreadcreate(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofReadThreadcreate Returns stack traces that led to the creation of new OS threads Returns stack traces that led to the creation of new OS threads
func (*System) PprofReadTrace ¶
func (s *System) PprofReadTrace(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofReadTrace Returns the execution trace in binary form. Returns the execution trace in binary form. Tracing lasts for duration specified in seconds GET parameter, or for 1 second if not specified.
func (*System) ReadAuditDevices ¶
func (s *System) ReadAuditDevices(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadAuditDevices List the enabled audit devices.
func (*System) ReadAuthMethod ¶
func (s *System) ReadAuthMethod(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadAuthMethod Read the configuration of the auth engine at the given path. path: The path to mount to. Cannot be delimited. Example: \"user\"
func (*System) ReadAuthMethodTune ¶
func (s *System) ReadAuthMethodTune(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadAuthMethodTune Reads the given auth path's configuration. This endpoint requires sudo capability on the final path, but the same functionality can be achieved without sudo via `sys/mounts/auth/[auth-path]/tune`. path: Tune the configuration parameters for an auth path.
func (*System) ReadAuthMethods ¶
func (s *System) ReadAuthMethods(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadAuthMethods List the currently enabled credential backends.
func (*System) ReadConfigAuditingRequestHeader ¶
func (s *System) ReadConfigAuditingRequestHeader(ctx context.Context, header string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadConfigAuditingRequestHeader List the information for the given request header.
func (*System) ReadConfigAuditingRequestHeaders ¶
func (s *System) ReadConfigAuditingRequestHeaders(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadConfigAuditingRequestHeaders List the request headers that are configured to be audited.
func (*System) ReadConfigCORS ¶
func (s *System) ReadConfigCORS(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadConfigCORS Return the current CORS settings.
func (*System) ReadConfigStateSanitized ¶
func (s *System) ReadConfigStateSanitized(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadConfigStateSanitized Return a sanitized version of the Vault server configuration. The sanitized output strips configuration values in the storage, HA storage, and seals stanzas, which may contain sensitive values such as API tokens. It also removes any token or secret fields in other stanzas, such as the circonus_api_token from telemetry.
func (*System) ReadConfigUIHeader ¶
func (s *System) ReadConfigUIHeader(ctx context.Context, header string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadConfigUIHeader Return the given UI header's configuration header: The name of the header.
func (*System) ReadGenerateRoot ¶
func (s *System) ReadGenerateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadGenerateRoot Read the configuration and progress of the current root generation attempt.
func (*System) ReadGenerateRootAttempt ¶
func (s *System) ReadGenerateRootAttempt(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadGenerateRootAttempt Read the configuration and progress of the current root generation attempt.
func (*System) ReadHAStatus ¶
func (s *System) ReadHAStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadHAStatus Check the HA status of a Vault cluster
func (*System) ReadHealth ¶
func (s *System) ReadHealth(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadHealth Returns the health status of Vault.
func (*System) ReadHostInfo ¶
func (s *System) ReadHostInfo(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadHostInfo Information about the host instance that this Vault server is running on. Information about the host instance that this Vault server is running on. The information that gets collected includes host hardware information, and CPU, disk, and memory utilization
func (*System) ReadInFlightRequests ¶
func (s *System) ReadInFlightRequests(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInFlightRequests reports in-flight requests This path responds to the following HTTP methods. GET / Returns a map of in-flight requests.
func (*System) ReadInit ¶
func (s *System) ReadInit(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInit Returns the initialization status of Vault.
func (*System) ReadInternalCountersActivity ¶
func (s *System) ReadInternalCountersActivity(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInternalCountersActivity Report the client count metrics, for this namespace and all child namespaces.
func (*System) ReadInternalCountersActivityExport ¶
func (s *System) ReadInternalCountersActivityExport(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInternalCountersActivityExport Report the client count metrics, for this namespace and all child namespaces.
func (*System) ReadInternalCountersActivityMonthly ¶
func (s *System) ReadInternalCountersActivityMonthly(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInternalCountersActivityMonthly Report the number of clients for this month, for this namespace and all child namespaces.
func (*System) ReadInternalCountersConfig ¶
func (s *System) ReadInternalCountersConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInternalCountersConfig Read the client count tracking configuration.
func (*System) ReadInternalCountersEntities ¶
func (s *System) ReadInternalCountersEntities(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInternalCountersEntities Backwards compatibility is not guaranteed for this API
func (*System) ReadInternalCountersRequests ¶
func (s *System) ReadInternalCountersRequests(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInternalCountersRequests Backwards compatibility is not guaranteed for this API
func (*System) ReadInternalCountersTokens ¶
func (s *System) ReadInternalCountersTokens(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInternalCountersTokens Backwards compatibility is not guaranteed for this API
func (*System) ReadInternalInspectRouter ¶
func (s *System) ReadInternalInspectRouter(ctx context.Context, tag string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInternalInspectRouter Expose the route entry and mount entry tables present in the router tag: Name of subtree being observed
func (*System) ReadInternalSpecsOpenAPI ¶
func (s *System) ReadInternalSpecsOpenAPI(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInternalSpecsOpenAPI Generate an OpenAPI 3 document of all mounted paths.
func (*System) ReadInternalUIFeatureFlags ¶
func (s *System) ReadInternalUIFeatureFlags(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInternalUIFeatureFlags Lists enabled feature flags.
func (*System) ReadInternalUIMount ¶
func (s *System) ReadInternalUIMount(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInternalUIMount Return information about the given mount. path: The path of the mount.
func (*System) ReadInternalUIMounts ¶
func (s *System) ReadInternalUIMounts(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInternalUIMounts Lists all enabled and visible auth and secrets mounts.
func (*System) ReadInternalUINamespaces ¶
func (s *System) ReadInternalUINamespaces(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInternalUINamespaces Backwards compatibility is not guaranteed for this API
func (*System) ReadInternalUIResultantACL ¶
func (s *System) ReadInternalUIResultantACL(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInternalUIResultantACL Backwards compatibility is not guaranteed for this API
func (*System) ReadKeyStatus ¶
func (s *System) ReadKeyStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadKeyStatus Provides information about the backend encryption key.
func (*System) ReadLeader ¶
func (s *System) ReadLeader(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadLeader Returns the high availability status and current leader instance of Vault.
func (*System) ReadLeases ¶
func (s *System) ReadLeases(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadLeases List leases associated with this Vault cluster
func (*System) ReadLeasesCount ¶
func (s *System) ReadLeasesCount(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadLeasesCount Count of leases associated with this Vault cluster
func (*System) ReadLogger ¶
func (s *System) ReadLogger(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadLogger Read the log level for a single logger. name: The name of the logger to be modified.
func (*System) ReadLoggers ¶
func (s *System) ReadLoggers(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadLoggers Read the log level for all existing loggers.
func (*System) ReadMetrics ¶
func (s *System) ReadMetrics(ctx context.Context, format string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadMetrics Export the metrics aggregated for telemetry purpose. format: Format to export metrics into. Currently accepts only \"prometheus\".
func (*System) ReadMount ¶
func (s *System) ReadMount(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadMount Read the configuration of the secret engine at the given path. path: The path to mount to. Example: \"aws/east\"
func (*System) ReadMounts ¶
func (s *System) ReadMounts(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadMounts List the currently mounted backends.
func (*System) ReadMountsConfig ¶
func (s *System) ReadMountsConfig(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadMountsConfig Tune backend configuration parameters for this mount. path: The path to mount to. Example: \"aws/east\"
func (*System) ReadPluginsCatalog ¶
func (s *System) ReadPluginsCatalog(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadPluginsCatalog Lists all the plugins known to Vault
func (*System) ReadPluginsCatalogByTypeByName ¶
func (s *System) ReadPluginsCatalogByTypeByName(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadPluginsCatalogByTypeByName Return the configuration data for the plugin with the given name. name: The name of the plugin type_: The type of the plugin, may be auth, secret, or database
func (*System) ReadPolicies ¶
func (s *System) ReadPolicies(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadPolicies List the configured access control policies.
func (*System) ReadPoliciesACL ¶
func (s *System) ReadPoliciesACL(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadPoliciesACL Retrieve information about the named ACL policy. name: The name of the policy. Example: \"ops\"
func (*System) ReadPoliciesPassword ¶
func (s *System) ReadPoliciesPassword(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadPoliciesPassword Retrieve an existing password policy. name: The name of the password policy.
func (*System) ReadPoliciesPasswordGenerate ¶
func (s *System) ReadPoliciesPasswordGenerate(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadPoliciesPasswordGenerate Generate a password from an existing password policy. name: The name of the password policy.
func (*System) ReadPolicy ¶
func (s *System) ReadPolicy(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadPolicy Retrieve the policy body for the named policy. name: The name of the policy. Example: \"ops\"
func (*System) ReadQuotasConfig ¶
func (s *System) ReadQuotasConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadQuotasConfig
func (*System) ReadQuotasRateLimit ¶
func (s *System) ReadQuotasRateLimit(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadQuotasRateLimit name: Name of the quota rule.
func (*System) ReadRaw ¶
func (s *System) ReadRaw(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadRaw Read the value of the key at the given path.
func (*System) ReadRawPath ¶
func (s *System) ReadRawPath(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadRawPath Read the value of the key at the given path.
func (*System) ReadRekeyBackup ¶
func (s *System) ReadRekeyBackup(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadRekeyBackup Return the backup copy of PGP-encrypted unseal keys.
func (*System) ReadRekeyInit ¶
func (s *System) ReadRekeyInit(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadRekeyInit Reads the configuration and progress of the current rekey attempt.
func (*System) ReadRekeyRecoveryKeyBackup ¶
func (s *System) ReadRekeyRecoveryKeyBackup(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadRekeyRecoveryKeyBackup Allows fetching or deleting the backup of the rotated unseal keys.
func (*System) ReadRekeyVerify ¶
func (s *System) ReadRekeyVerify(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadRekeyVerify Read the configuration and progress of the current rekey verification attempt.
func (*System) ReadRemountStatus ¶
func (s *System) ReadRemountStatus(ctx context.Context, migrationId string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadRemountStatus Check status of a mount migration migrationId: The ID of the migration operation
func (*System) ReadReplicationStatus ¶
func (s *System) ReadReplicationStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadReplicationStatus
func (*System) ReadRotateConfig ¶
func (s *System) ReadRotateConfig(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadRotateConfig
func (*System) ReadSealStatus ¶
func (s *System) ReadSealStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadSealStatus Check the seal status of a Vault.
func (*System) Remount ¶
func (s *System) Remount(ctx context.Context, request schema.RemountRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
Remount Initiate a mount migration
func (*System) Renew ¶
func (s *System) Renew(ctx context.Context, request schema.RenewRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
Renew Renews a lease, requesting to extend the lease.
func (*System) RenewFor ¶
func (s *System) RenewFor(ctx context.Context, urlLeaseId string, request schema.RenewForRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RenewFor Renews a lease, requesting to extend the lease. urlLeaseId: The lease identifier to renew. This is included with a lease.
func (*System) Revoke ¶
func (s *System) Revoke(ctx context.Context, request schema.RevokeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
Revoke Revokes a lease immediately.
func (*System) RevokeForce ¶
func (s *System) RevokeForce(ctx context.Context, prefix string, options ...RequestOption) (*Response[map[string]interface{}], error)
RevokeForce Revokes all secrets or tokens generated under a given prefix immediately Unlike `/sys/leases/revoke-prefix`, this path ignores backend errors encountered during revocation. This is potentially very dangerous and should only be used in specific emergency situations where errors in the backend or the connected backend service prevent normal revocation. By ignoring these errors, Vault abdicates responsibility for ensuring that the issued credentials or secrets are properly revoked and/or cleaned up. Access to this endpoint should be tightly controlled. prefix: The path to revoke keys under. Example: \"prod/aws/ops\"
func (*System) RevokeLease ¶
func (s *System) RevokeLease(ctx context.Context, urlLeaseId string, request schema.RevokeLeaseRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RevokeLease Revokes a lease immediately. urlLeaseId: The lease identifier to renew. This is included with a lease.
func (*System) RevokePrefix ¶
func (s *System) RevokePrefix(ctx context.Context, prefix string, request schema.RevokePrefixRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RevokePrefix Revokes all secrets (via a lease ID prefix) or tokens (via the tokens' path property) generated under a given prefix immediately. prefix: The path to revoke keys under. Example: \"prod/aws/ops\"
func (*System) Rotate ¶
func (s *System) Rotate(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
Rotate Rotates the backend encryption key used to persist data.
func (*System) Seal ¶
func (s *System) Seal(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
Seal Seal the Vault.
func (*System) StepDownLeader ¶
func (s *System) StepDownLeader(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
StepDownLeader Cause the node to give up active status. This endpoint forces the node to give up active status. If the node does not have active status, this endpoint does nothing. Note that the node will sleep for ten seconds before attempting to grab the active lock again, but if no standby nodes grab the active lock in the interim, the same node may become the active node again.
func (*System) SysDeletePluginsCatalogName ¶
func (s *System) SysDeletePluginsCatalogName(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
SysDeletePluginsCatalogName Remove the plugin with the given name. name: The name of the plugin
func (*System) SysListLeasesLookup ¶
func (s *System) SysListLeasesLookup(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
SysListLeasesLookup Returns a list of lease ids.
func (*System) SysReadPluginsCatalogName ¶
func (s *System) SysReadPluginsCatalogName(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
SysReadPluginsCatalogName Return the configuration data for the plugin with the given name. name: The name of the plugin
func (*System) SysWriteLockedusersMountAccessorUnlockAliasIdentifier ¶
func (s *System) SysWriteLockedusersMountAccessorUnlockAliasIdentifier(ctx context.Context, aliasIdentifier string, mountAccessor string, options ...RequestOption) (*Response[map[string]interface{}], error)
SysWriteLockedusersMountAccessorUnlockAliasIdentifier Unlocks the user with given mount_accessor and alias_identifier aliasIdentifier: It is the name of the alias (user). For example, if the alias belongs to userpass backend, the name should be a valid username within userpass auth method. If the alias belongs to an approle auth method, the name should be a valid RoleID mountAccessor: MountAccessor is the identifier of the mount entry to which the user belongs
func (*System) SysWritePluginsCatalogName ¶
func (s *System) SysWritePluginsCatalogName(ctx context.Context, name string, request schema.SysWritePluginsCatalogNameRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SysWritePluginsCatalogName Register a new plugin, or updates an existing one with the supplied name. name: The name of the plugin
func (*System) SysWriteToolsRandomUrlbytes ¶
func (s *System) SysWriteToolsRandomUrlbytes(ctx context.Context, urlbytes string, request schema.SysWriteToolsRandomUrlbytesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SysWriteToolsRandomUrlbytes Generate random bytes urlbytes: The number of bytes to generate (POST URL parameter)
func (*System) ToolsGenerateRandom ¶
func (s *System) ToolsGenerateRandom(ctx context.Context, request schema.ToolsGenerateRandomRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
ToolsGenerateRandom Generate random bytes
func (*System) ToolsGenerateRandomSource ¶
func (s *System) ToolsGenerateRandomSource(ctx context.Context, source string, request schema.ToolsGenerateRandomSourceRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
ToolsGenerateRandomSource Generate random bytes source: Which system to source random data from, ether \"platform\", \"seal\", or \"all\".
func (*System) ToolsGenerateRandomSourceBytes ¶
func (s *System) ToolsGenerateRandomSourceBytes(ctx context.Context, source string, urlbytes string, request schema.ToolsGenerateRandomSourceBytesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
ToolsGenerateRandomSourceBytes Generate random bytes source: Which system to source random data from, ether \"platform\", \"seal\", or \"all\". urlbytes: The number of bytes to generate (POST URL parameter)
func (*System) ToolsHash ¶
func (s *System) ToolsHash(ctx context.Context, request schema.ToolsHashRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
ToolsHash Generate a hash sum for input data
func (*System) ToolsHashWith ¶
func (s *System) ToolsHashWith(ctx context.Context, urlalgorithm string, request schema.ToolsHashWithRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
ToolsHashWith Generate a hash sum for input data urlalgorithm: Algorithm to use (POST URL parameter)
func (*System) Unseal ¶
func (s *System) Unseal(ctx context.Context, request schema.UnsealRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
Unseal Unseal the Vault.
func (*System) WrappingReadLookup ¶
func (s *System) WrappingReadLookup(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
WrappingReadLookup Look up wrapping properties for the requester's token.
func (*System) WrappingRewrap ¶
func (s *System) WrappingRewrap(ctx context.Context, request schema.WrappingRewrapRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WrappingRewrap Rotates a response-wrapped token.
func (*System) WrappingUnwrap ¶
func (s *System) WrappingUnwrap(ctx context.Context, request schema.WrappingUnwrapRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WrappingUnwrap Unwraps a response-wrapped token.
func (*System) WrappingWrap ¶
func (s *System) WrappingWrap(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
WrappingWrap Response-wraps an arbitrary JSON object.
func (*System) WrappingWriteLookup ¶
func (s *System) WrappingWriteLookup(ctx context.Context, request schema.WrappingWriteLookupRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WrappingWriteLookup Look up wrapping properties for the given token.
func (*System) WriteAuditDevice ¶
func (s *System) WriteAuditDevice(ctx context.Context, path string, request schema.WriteAuditDeviceRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteAuditDevice Enable a new audit device at the supplied path. path: The name of the backend. Cannot be delimited. Example: \"mysql\"
func (*System) WriteAuthMethod ¶
func (s *System) WriteAuthMethod(ctx context.Context, path string, request schema.WriteAuthMethodRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteAuthMethod Enables a new auth method. After enabling, the auth method can be accessed and configured via the auth path specified as part of the URL. This auth path will be nested under the auth prefix. For example, enable the \"foo\" auth method will make it accessible at /auth/foo. path: The path to mount to. Cannot be delimited. Example: \"user\"
func (*System) WriteAuthMethodTune ¶
func (s *System) WriteAuthMethodTune(ctx context.Context, path string, request schema.WriteAuthMethodTuneRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteAuthMethodTune Tune configuration parameters for a given auth path. This endpoint requires sudo capability on the final path, but the same functionality can be achieved without sudo via `sys/mounts/auth/[auth-path]/tune`. path: Tune the configuration parameters for an auth path.
func (*System) WriteCapabilities ¶
func (s *System) WriteCapabilities(ctx context.Context, request schema.WriteCapabilitiesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteCapabilities Fetches the capabilities of the given token on the given path.
func (*System) WriteCapabilitiesAccessor ¶
func (s *System) WriteCapabilitiesAccessor(ctx context.Context, request schema.WriteCapabilitiesAccessorRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteCapabilitiesAccessor Fetches the capabilities of the token associated with the given token, on the given path.
func (*System) WriteCapabilitiesSelf ¶
func (s *System) WriteCapabilitiesSelf(ctx context.Context, request schema.WriteCapabilitiesSelfRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteCapabilitiesSelf Fetches the capabilities of the given token on the given path.
func (*System) WriteConfigAuditingRequestHeader ¶
func (s *System) WriteConfigAuditingRequestHeader(ctx context.Context, header string, request schema.WriteConfigAuditingRequestHeaderRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteConfigAuditingRequestHeader Enable auditing of a header.
func (*System) WriteConfigCORS ¶
func (s *System) WriteConfigCORS(ctx context.Context, request schema.WriteConfigCORSRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteConfigCORS Configure the CORS settings.
func (*System) WriteConfigReloadSubsystem ¶
func (s *System) WriteConfigReloadSubsystem(ctx context.Context, subsystem string, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteConfigReloadSubsystem Reload the given subsystem
func (*System) WriteConfigUIHeader ¶
func (s *System) WriteConfigUIHeader(ctx context.Context, header string, request schema.WriteConfigUIHeaderRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteConfigUIHeader Configure the values to be returned for the UI header. header: The name of the header.
func (*System) WriteGenerateRoot ¶
func (s *System) WriteGenerateRoot(ctx context.Context, request schema.WriteGenerateRootRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteGenerateRoot Initializes a new root generation attempt. Only a single root generation attempt can take place at a time. One (and only one) of otp or pgp_key are required.
func (*System) WriteGenerateRootAttempt ¶
func (s *System) WriteGenerateRootAttempt(ctx context.Context, request schema.WriteGenerateRootAttemptRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteGenerateRootAttempt Initializes a new root generation attempt. Only a single root generation attempt can take place at a time. One (and only one) of otp or pgp_key are required.
func (*System) WriteGenerateRootUpdate ¶
func (s *System) WriteGenerateRootUpdate(ctx context.Context, request schema.WriteGenerateRootUpdateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteGenerateRootUpdate Enter a single unseal key share to progress the root generation attempt. If the threshold number of unseal key shares is reached, Vault will complete the root generation and issue the new token. Otherwise, this API must be called multiple times until that threshold is met. The attempt nonce must be provided with each call.
func (*System) WriteInit ¶
func (s *System) WriteInit(ctx context.Context, request schema.WriteInitRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteInit Initialize a new Vault. The Vault must not have been previously initialized. The recovery options, as well as the stored shares option, are only available when using Vault HSM.
func (*System) WriteInternalCountersConfig ¶
func (s *System) WriteInternalCountersConfig(ctx context.Context, request schema.WriteInternalCountersConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteInternalCountersConfig Enable or disable collection of client count, set retention period, or set default reporting period.
func (*System) WriteLeasesLookup ¶
func (s *System) WriteLeasesLookup(ctx context.Context, request schema.WriteLeasesLookupRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteLeasesLookup Retrieve lease metadata.
func (*System) WriteLeasesRenew ¶
func (s *System) WriteLeasesRenew(ctx context.Context, request schema.WriteLeasesRenewRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteLeasesRenew Renews a lease, requesting to extend the lease.
func (*System) WriteLeasesRenew2 ¶
func (s *System) WriteLeasesRenew2(ctx context.Context, urlLeaseId string, request schema.WriteLeasesRenew2Request, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteLeasesRenew2 Renews a lease, requesting to extend the lease. urlLeaseId: The lease identifier to renew. This is included with a lease.
func (*System) WriteLeasesRevoke ¶
func (s *System) WriteLeasesRevoke(ctx context.Context, request schema.WriteLeasesRevokeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteLeasesRevoke Revokes a lease immediately.
func (*System) WriteLeasesRevoke2 ¶
func (s *System) WriteLeasesRevoke2(ctx context.Context, urlLeaseId string, request schema.WriteLeasesRevoke2Request, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteLeasesRevoke2 Revokes a lease immediately. urlLeaseId: The lease identifier to renew. This is included with a lease.
func (*System) WriteLeasesRevokeForce ¶
func (s *System) WriteLeasesRevokeForce(ctx context.Context, prefix string, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteLeasesRevokeForce Revokes all secrets or tokens generated under a given prefix immediately Unlike `/sys/leases/revoke-prefix`, this path ignores backend errors encountered during revocation. This is potentially very dangerous and should only be used in specific emergency situations where errors in the backend or the connected backend service prevent normal revocation. By ignoring these errors, Vault abdicates responsibility for ensuring that the issued credentials or secrets are properly revoked and/or cleaned up. Access to this endpoint should be tightly controlled. prefix: The path to revoke keys under. Example: \"prod/aws/ops\"
func (*System) WriteLeasesRevokePrefix ¶
func (s *System) WriteLeasesRevokePrefix(ctx context.Context, prefix string, request schema.WriteLeasesRevokePrefixRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteLeasesRevokePrefix Revokes all secrets (via a lease ID prefix) or tokens (via the tokens' path property) generated under a given prefix immediately. prefix: The path to revoke keys under. Example: \"prod/aws/ops\"
func (*System) WriteLeasesTidy ¶
func (s *System) WriteLeasesTidy(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteLeasesTidy This endpoint performs cleanup tasks that can be run if certain error conditions have occurred.
func (*System) WriteLogger ¶
func (s *System) WriteLogger(ctx context.Context, name string, request schema.WriteLoggerRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteLogger Modify the log level of a single logger. name: The name of the logger to be modified.
func (*System) WriteLoggers ¶
func (s *System) WriteLoggers(ctx context.Context, request schema.WriteLoggersRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteLoggers Modify the log level for all existing loggers.
func (*System) WriteMount ¶
func (s *System) WriteMount(ctx context.Context, path string, request schema.WriteMountRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteMount Enable a new secrets engine at the given path. path: The path to mount to. Example: \"aws/east\"
func (*System) WriteMountsConfig ¶
func (s *System) WriteMountsConfig(ctx context.Context, path string, request schema.WriteMountsConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteMountsConfig Tune backend configuration parameters for this mount. path: The path to mount to. Example: \"aws/east\"
func (*System) WritePluginsCatalogByTypeByName ¶
func (s *System) WritePluginsCatalogByTypeByName(ctx context.Context, name string, type_ string, request schema.WritePluginsCatalogByTypeByNameRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WritePluginsCatalogByTypeByName Register a new plugin, or updates an existing one with the supplied name. name: The name of the plugin type_: The type of the plugin, may be auth, secret, or database
func (*System) WritePluginsReloadBackend ¶
func (s *System) WritePluginsReloadBackend(ctx context.Context, request schema.WritePluginsReloadBackendRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WritePluginsReloadBackend Reload mounted plugin backends. Either the plugin name (`plugin`) or the desired plugin backend mounts (`mounts`) must be provided, but not both. In the case that the plugin name is provided, all mounted paths that use that plugin backend will be reloaded. If (`scope`) is provided and is (`global`), the plugin(s) are reloaded globally.
func (*System) WritePoliciesACL ¶
func (s *System) WritePoliciesACL(ctx context.Context, name string, request schema.WritePoliciesACLRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WritePoliciesACL Add a new or update an existing ACL policy. name: The name of the policy. Example: \"ops\"
func (*System) WritePoliciesPassword ¶
func (s *System) WritePoliciesPassword(ctx context.Context, name string, request schema.WritePoliciesPasswordRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WritePoliciesPassword Add a new or update an existing password policy. name: The name of the password policy.
func (*System) WritePolicy ¶
func (s *System) WritePolicy(ctx context.Context, name string, request schema.WritePolicyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WritePolicy Add a new or update an existing policy. name: The name of the policy. Example: \"ops\"
func (*System) WriteQuotasConfig ¶
func (s *System) WriteQuotasConfig(ctx context.Context, request schema.WriteQuotasConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteQuotasConfig
func (*System) WriteQuotasRateLimit ¶
func (s *System) WriteQuotasRateLimit(ctx context.Context, name string, request schema.WriteQuotasRateLimitRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteQuotasRateLimit name: Name of the quota rule.
func (*System) WriteRaw ¶
func (s *System) WriteRaw(ctx context.Context, request schema.WriteRawRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteRaw Update the value of the key at the given path.
func (*System) WriteRawPath ¶
func (s *System) WriteRawPath(ctx context.Context, path string, request schema.WriteRawPathRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteRawPath Update the value of the key at the given path.
func (*System) WriteRekeyInit ¶
func (s *System) WriteRekeyInit(ctx context.Context, request schema.WriteRekeyInitRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteRekeyInit Initializes a new rekey attempt. Only a single rekey attempt can take place at a time, and changing the parameters of a rekey requires canceling and starting a new rekey, which will also provide a new nonce.
func (*System) WriteRekeyUpdate ¶
func (s *System) WriteRekeyUpdate(ctx context.Context, request schema.WriteRekeyUpdateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteRekeyUpdate Enter a single unseal key share to progress the rekey of the Vault.
func (*System) WriteRekeyVerify ¶
func (s *System) WriteRekeyVerify(ctx context.Context, request schema.WriteRekeyVerifyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteRekeyVerify Enter a single new key share to progress the rekey verification operation.
func (*System) WriteRotateConfig ¶
func (s *System) WriteRotateConfig(ctx context.Context, request schema.WriteRotateConfigRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
WriteRotateConfig
type TLSConfiguration ¶
type TLSConfiguration struct { // ServerCertificate is a PEM-encoded CA certificate, which the client // will use to verify the Vault server TLS certificate. It can be sourced // from a file, from a directory or from raw bytes. ServerCertificate ServerCertificateEntry // ClientCertificate is a PEM-encoded client certificate (signed by a CA or // self-signed), which is used to authenticate with Vault via the cert auth // method (see https://developer.hashicorp.com/vault/docs/auth/cert) ClientCertificate ClientCertificateEntry // ClientCertificateKey is a private key, which is used together with // ClientCertificate to authenticate with Vault via the cert auth method // (see https://developer.hashicorp.com/vault/docs/auth/cert) // Default: "" ClientCertificateKey ClientCertificateKeyEntry // ServerName is used to verify the hostname on the returned certificates // unless InsecureSkipVerify is given. // Default: "" ServerName string `env:"VAULT_TLS_SERVER_NAME"` // InsecureSkipVerify controls whether the client verifies the server's // certificate chain and hostname. // Default: false InsecureSkipVerify bool `env:"VAULT_SKIP_VERIFY"` }
TLSConfiguration is a collection of TLS settings used to configure the internal http.Client.