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) AliCloudDeleteAuthRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AliCloudListAuthRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], 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) AppRoleDeleteSecretIdBoundCidrs(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) AppRoleDestroySecretId(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleDestroySecretIdByAccessor(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) AppRoleListSecretIds(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) AppRoleLogin(ctx context.Context, request schema.AppRoleLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AppRoleLookUpSecretId(ctx context.Context, roleName string, ...) (*Response[schema.AppRoleLookUpSecretIdResponse], error)
- func (a *Auth) AppRoleLookUpSecretIdByAccessor(ctx context.Context, roleName string, ...) (*Response[schema.AppRoleLookUpSecretIdByAccessorResponse], 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) AppRoleWriteSecretIdBoundCidrs(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], 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) AwsConfigureCertificate(ctx context.Context, certName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsConfigureClient(ctx context.Context, request schema.AwsConfigureClientRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsConfigureIdentityAccessListTidyOperation(ctx context.Context, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsConfigureIdentityIntegration(ctx context.Context, request schema.AwsConfigureIdentityIntegrationRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsConfigureIdentityWhitelistTidyOperation(ctx context.Context, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsConfigureRoleTagBlacklistTidyOperation(ctx context.Context, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsConfigureRoleTagDenyListTidyOperation(ctx context.Context, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsDeleteAuthRole(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsDeleteCertificateConfiguration(ctx context.Context, certName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsDeleteClientConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsDeleteIdentityAccessList(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsDeleteIdentityAccessListTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsDeleteIdentityWhitelist(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsDeleteIdentityWhitelistTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsDeleteRoleTagBlacklist(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsDeleteRoleTagBlacklistTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsDeleteRoleTagDenyList(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsDeleteRoleTagDenyListTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsDeleteStsRole(ctx context.Context, accountId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsListAuthRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) AwsListCertificateConfigurations(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) AwsListIdentityAccessList(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) AwsListIdentityWhitelist(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) AwsListRoleTagBlacklists(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) AwsListRoleTagDenyLists(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) AwsListStsRoleRelationships(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], 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) AwsReadCertificateConfiguration(ctx context.Context, certName string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsReadClientConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsReadIdentityAccessList(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsReadIdentityAccessListTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsReadIdentityIntegrationConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsReadIdentityWhitelist(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsReadIdentityWhitelistTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsReadRoleTagBlacklist(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsReadRoleTagBlacklistTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsReadRoleTagDenyList(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsReadRoleTagDenyListTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsReadStsRole(ctx context.Context, accountId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsRotateRootCredentials(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsTidyIdentityAccessList(ctx context.Context, request schema.AwsTidyIdentityAccessListRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsTidyIdentityWhitelist(ctx context.Context, request schema.AwsTidyIdentityWhitelistRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsTidyRoleTagBlacklist(ctx context.Context, request schema.AwsTidyRoleTagBlacklistRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsTidyRoleTagDenyList(ctx context.Context, request schema.AwsTidyRoleTagDenyListRequest, ...) (*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) AwsWriteRoleTag(ctx context.Context, role string, request schema.AwsWriteRoleTagRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsWriteRoleTagBlacklist(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsWriteRoleTagDenyList(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) AwsWriteStsRole(ctx context.Context, accountId string, request schema.AwsWriteStsRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AzureConfigureAuth(ctx context.Context, request schema.AzureConfigureAuthRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AzureDeleteAuthConfiguration(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[schema.StandardListResponse], error)
- func (a *Auth) AzureLogin(ctx context.Context, request schema.AzureLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) AzureReadAuthConfiguration(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) AzureRotateRootCredentials(ctx context.Context, options ...RequestOption) (*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) CentrifyConfigure(ctx context.Context, request schema.CentrifyConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CentrifyLogin(ctx context.Context, request schema.CentrifyLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CentrifyReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CertConfigure(ctx context.Context, request schema.CertConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CertDeleteCertificate(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CertDeleteCrl(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CertListCertificates(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) CertListCrls(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) CertLogin(ctx context.Context, request schema.CertLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CertReadCertificate(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CertReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CertReadCrl(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) CertWriteCertificate(ctx context.Context, name string, request schema.CertWriteCertificateRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CertWriteCrl(ctx context.Context, name string, request schema.CertWriteCrlRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CloudFoundryConfigure(ctx context.Context, request schema.CloudFoundryConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CloudFoundryDeleteConfiguration(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[schema.StandardListResponse], error)
- func (a *Auth) CloudFoundryLogin(ctx context.Context, request schema.CloudFoundryLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) CloudFoundryReadConfiguration(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) CloudFoundryWriteRole(ctx context.Context, role string, request schema.CloudFoundryWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GithubConfigure(ctx context.Context, request schema.GithubConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GithubDeleteTeamMapping(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GithubDeleteUserMapping(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GithubListTeams(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) GithubListUsers(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) GithubLogin(ctx context.Context, request schema.GithubLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GithubReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GithubReadTeamMapping(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GithubReadUserMapping(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GithubWriteTeamMapping(ctx context.Context, key string, request schema.GithubWriteTeamMappingRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GithubWriteUserMapping(ctx context.Context, key string, request schema.GithubWriteUserMappingRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudConfigureAuth(ctx context.Context, request schema.GoogleCloudConfigureAuthRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudEditLabelsForRole(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudEditServiceAccountsForRole(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) GoogleCloudLogin(ctx context.Context, request schema.GoogleCloudLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) GoogleCloudReadAuthConfiguration(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) GoogleCloudWriteRole(ctx context.Context, name string, request schema.GoogleCloudWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) JwtConfigure(ctx context.Context, request schema.JwtConfigureRequest, ...) (*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[schema.StandardListResponse], error)
- func (a *Auth) JwtLogin(ctx context.Context, request schema.JwtLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (a *Auth) JwtOidcCallback(ctx context.Context, clientNonce string, code string, state string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) JwtOidcCallbackFormPost(ctx context.Context, request schema.JwtOidcCallbackFormPostRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) JwtOidcRequestAuthorizationUrl(ctx context.Context, request schema.JwtOidcRequestAuthorizationUrlRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) JwtReadConfiguration(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) JwtWriteRole(ctx context.Context, name string, request schema.JwtWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) KerberosConfigure(ctx context.Context, request schema.KerberosConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) KerberosConfigureLdap(ctx context.Context, request schema.KerberosConfigureLdapRequest, ...) (*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[schema.StandardListResponse], error)
- func (a *Auth) KerberosLogin(ctx context.Context, request schema.KerberosLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) KerberosReadConfiguration(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) KerberosReadLdapConfiguration(ctx context.Context, options ...RequestOption) (*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) KubernetesConfigureAuth(ctx context.Context, request schema.KubernetesConfigureAuthRequest, ...) (*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[schema.StandardListResponse], error)
- func (a *Auth) KubernetesLogin(ctx context.Context, request schema.KubernetesLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) KubernetesReadAuthConfiguration(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) KubernetesWriteAuthRole(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) LdapConfigureAuth(ctx context.Context, request schema.LdapConfigureAuthRequest, ...) (*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[schema.StandardListResponse], error)
- func (a *Auth) LdapListUsers(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) LdapLogin(ctx context.Context, username string, request schema.LdapLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) LdapReadAuthConfiguration(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) 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) OciConfigure(ctx context.Context, request schema.OciConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OciDeleteConfiguration(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[schema.StandardListResponse], error)
- func (a *Auth) OciLogin(ctx context.Context, role string, request schema.OciLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OciReadConfiguration(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) OciWriteRole(ctx context.Context, role string, request schema.OciWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OktaConfigure(ctx context.Context, request schema.OktaConfigureRequest, ...) (*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[schema.StandardListResponse], error)
- func (a *Auth) OktaListUsers(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) OktaLogin(ctx context.Context, username string, request schema.OktaLoginRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) OktaReadConfiguration(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) 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) RadiusConfigure(ctx context.Context, request schema.RadiusConfigureRequest, ...) (*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[schema.StandardListResponse], 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) RadiusReadConfiguration(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) RadiusWriteUser(ctx context.Context, name string, request schema.RadiusWriteUserRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenCreate(ctx context.Context, request schema.TokenCreateRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenCreateAgainstRole(ctx context.Context, roleName string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenCreateOrphan(ctx context.Context, request schema.TokenCreateOrphanRequest, ...) (*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[schema.StandardListResponse], error)
- func (a *Auth) TokenListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (a *Auth) TokenLookUp(ctx context.Context, request schema.TokenLookUpRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenLookUpAccessor(ctx context.Context, request schema.TokenLookUpAccessorRequest, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) TokenLookUpSelf(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) 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[schema.StandardListResponse], 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) UserpassResetPassword(ctx context.Context, username string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) UserpassUpdatePolicies(ctx context.Context, username string, ...) (*Response[map[string]interface{}], error)
- func (a *Auth) UserpassWriteUser(ctx context.Context, username string, request schema.UserpassWriteUserRequest, ...) (*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) 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) 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 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(retry RetryConfiguration) ClientOption
- func WithTLS(tls TLSConfiguration) ClientOption
- type Identity
- func (i *Identity) AliasCreate(ctx context.Context, request schema.AliasCreateRequest, ...) (*Response[map[string]interface{}], error)
- 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[schema.StandardListResponse], error)
- func (i *Identity) AliasReadById(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) AliasUpdateById(ctx context.Context, id string, request schema.AliasUpdateByIdRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityBatchDelete(ctx context.Context, request schema.EntityBatchDeleteRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityCreate(ctx context.Context, request schema.EntityCreateRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityCreateAlias(ctx context.Context, request schema.EntityCreateAliasRequest, ...) (*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[schema.StandardListResponse], error)
- func (i *Identity) EntityListById(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (i *Identity) EntityListByName(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], 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) EntityUpdateAliasById(ctx context.Context, id string, request schema.EntityUpdateAliasByIdRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityUpdateById(ctx context.Context, id string, request schema.EntityUpdateByIdRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) EntityUpdateByName(ctx context.Context, name string, request schema.EntityUpdateByNameRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupCreate(ctx context.Context, request schema.GroupCreateRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupCreateAlias(ctx context.Context, request schema.GroupCreateAliasRequest, ...) (*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[schema.StandardListResponse], error)
- func (i *Identity) GroupListById(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (i *Identity) GroupListByName(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], 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) GroupUpdateAliasById(ctx context.Context, id string, request schema.GroupUpdateAliasByIdRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupUpdateById(ctx context.Context, id string, request schema.GroupUpdateByIdRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) GroupUpdateByName(ctx context.Context, name string, request schema.GroupUpdateByNameRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaAdminDestroyTotpSecret(ctx context.Context, request schema.MfaAdminDestroyTotpSecretRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaAdminGenerateTotpSecret(ctx context.Context, request schema.MfaAdminGenerateTotpSecretRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaCreateDuoMethod(ctx context.Context, request schema.MfaCreateDuoMethodRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaCreateOktaMethod(ctx context.Context, request schema.MfaCreateOktaMethodRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaCreatePingIdMethod(ctx context.Context, request schema.MfaCreatePingIdMethodRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaCreateTotpMethod(ctx context.Context, request schema.MfaCreateTotpMethodRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaDeleteDuoMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaDeleteLoginEnforcement(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaDeleteOktaMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaDeletePingIdMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaDeleteTotpMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaGenerateTotpSecret(ctx context.Context, request schema.MfaGenerateTotpSecretRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaListDuoMethods(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (i *Identity) MfaListLoginEnforcements(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (i *Identity) MfaListMethods(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (i *Identity) MfaListOktaMethods(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (i *Identity) MfaListPingIdMethods(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (i *Identity) MfaListTotpMethods(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (i *Identity) MfaReadDuoMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaReadLoginEnforcement(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaReadMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaReadOktaMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaReadPingIdMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaReadTotpMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaUpdateDuoMethod(ctx context.Context, methodId string, request schema.MfaUpdateDuoMethodRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaUpdateOktaMethod(ctx context.Context, methodId string, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaUpdatePingIdMethod(ctx context.Context, methodId string, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaUpdateTotpMethod(ctx context.Context, methodId string, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) MfaWriteLoginEnforcement(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OidcConfigure(ctx context.Context, request schema.OidcConfigureRequest, ...) (*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) OidcGenerateToken(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[schema.StandardListResponse], error)
- func (i *Identity) OidcListClients(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (i *Identity) OidcListKeys(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (i *Identity) OidcListProviders(ctx context.Context, allowedClientId string, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (i *Identity) OidcListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (i *Identity) OidcListScopes(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (i *Identity) OidcProviderAuthorize(ctx context.Context, name string, clientId string, codeChallenge string, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OidcProviderAuthorizeWithParameters(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OidcProviderToken(ctx context.Context, name string, request schema.OidcProviderTokenRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) OidcProviderUserInfo(ctx context.Context, name string, 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) OidcReadConfiguration(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) OidcReadOpenIdConfiguration(ctx context.Context, 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) OidcReadProviderOpenIdConfiguration(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OidcReadProviderPublicKeys(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) OidcReadPublicKeys(ctx context.Context, 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) 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) 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) 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) PersonaCreate(ctx context.Context, request schema.PersonaCreateRequest, ...) (*Response[map[string]interface{}], error)
- func (i *Identity) PersonaDeleteById(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) PersonaListById(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (i *Identity) PersonaReadById(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (i *Identity) PersonaUpdateById(ctx context.Context, id string, request schema.PersonaUpdateByIdRequest, ...) (*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 WithQueryParameters(parameters url.Values) 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) AliCloudConfigure(ctx context.Context, request schema.AliCloudConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AliCloudDeleteConfiguration(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) AliCloudGenerateCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AliCloudListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) AliCloudReadConfiguration(ctx context.Context, 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) AliCloudWriteRole(ctx context.Context, name string, request schema.AliCloudWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AwsConfigureLease(ctx context.Context, request schema.AwsConfigureLeaseRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AwsConfigureRootIamCredentials(ctx context.Context, request schema.AwsConfigureRootIamCredentialsRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AwsDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AwsDeleteStaticRolesName(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AwsGenerateCredentials(ctx context.Context, name string, roleArn string, roleSessionName string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AwsGenerateCredentialsWithParameters(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AwsGenerateStsCredentials(ctx context.Context, name string, roleArn string, roleSessionName string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AwsGenerateStsCredentialsWithParameters(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AwsListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) AwsReadLeaseConfiguration(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) AwsReadRootIamCredentialsConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) AwsReadStaticCredsName(ctx context.Context, name string, options ...RequestOption) (*Response[schema.AwsReadStaticCredsNameResponse], error)
- func (s *Secrets) AwsReadStaticRolesName(ctx context.Context, name string, options ...RequestOption) (*Response[schema.AwsReadStaticRolesNameResponse], error)
- func (s *Secrets) AwsRotateRootIamCredentials(ctx context.Context, options ...RequestOption) (*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) AwsWriteStaticRolesName(ctx context.Context, name string, ...) (*Response[schema.AwsWriteStaticRolesNameResponse], error)
- func (s *Secrets) AzureConfigure(ctx context.Context, request schema.AzureConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) AzureDeleteConfiguration(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[schema.StandardListResponse], error)
- func (s *Secrets) AzureReadConfiguration(ctx context.Context, 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) AzureRequestServicePrincipalCredentials(ctx context.Context, role 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) AzureWriteRole(ctx context.Context, name string, request schema.AzureWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) ConsulConfigureAccess(ctx context.Context, request schema.ConsulConfigureAccessRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) ConsulDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ConsulGenerateCredentials(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) ConsulListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) ConsulReadAccessConfiguration(ctx context.Context, 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) 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) CubbyholeList(ctx context.Context, path string, options ...RequestOption) (*Response[schema.StandardListResponse], 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, request map[string]interface{}, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseConfigureConnection(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseDeleteConnectionConfiguration(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) DatabaseGenerateCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseListConnections(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) DatabaseListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) DatabaseListStaticRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) DatabaseReadConnectionConfiguration(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) DatabaseReadStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseReadStaticRoleCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseResetConnection(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseRotateRootCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) DatabaseRotateStaticRoleCredentials(ctx context.Context, name string, options ...RequestOption) (*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) GoogleCloudConfigure(ctx context.Context, request schema.GoogleCloudConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudDeleteImpersonatedAccount(ctx context.Context, name string, options ...RequestOption) (*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) GoogleCloudGenerateImpersonatedAccountAccessToken(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudGenerateRolesetAccessToken(ctx context.Context, roleset string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudGenerateRolesetKey(ctx context.Context, roleset string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudGenerateStaticAccountAccessToken(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudGenerateStaticAccountKey(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKmsConfigure(ctx context.Context, request schema.GoogleCloudKmsConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudKmsConfigureKey(ctx context.Context, key string, ...) (*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) GoogleCloudKmsDeleteConfiguration(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[schema.StandardListResponse], error)
- func (s *Secrets) GoogleCloudKmsReadConfiguration(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) GoogleCloudKmsReadKeyConfiguration(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) GoogleCloudKmsRetrievePublicKey(ctx context.Context, key string, options ...RequestOption) (*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) GoogleCloudKmsTrimKeyVersions(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) GoogleCloudKmsWriteKey(ctx context.Context, key string, request schema.GoogleCloudKmsWriteKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudListImpersonatedAccounts(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) GoogleCloudListRolesets(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) GoogleCloudListStaticAccounts(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) GoogleCloudReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudReadImpersonatedAccount(ctx context.Context, name 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) GoogleCloudReadStaticAccount(ctx context.Context, name 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) GoogleCloudRotateRootCredentials(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) GoogleCloudWriteImpersonatedAccount(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudWriteRoleset(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) GoogleCloudWriteStaticAccount(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) KubernetesCheckConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KubernetesConfigure(ctx context.Context, request schema.KubernetesConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) KubernetesDeleteConfiguration(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) KubernetesGenerateCredentials(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) KubernetesListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) KubernetesReadConfiguration(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) KubernetesWriteRole(ctx context.Context, name string, request schema.KubernetesWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) KvV1Delete(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KvV1List(ctx context.Context, path string, options ...RequestOption) (*Response[schema.StandardListResponse], 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, request map[string]interface{}, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) KvV2Configure(ctx context.Context, request schema.KvV2ConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) KvV2Delete(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) KvV2DeleteMetadataAndAllVersions(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) KvV2List(ctx context.Context, path string, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) KvV2Read(ctx context.Context, path string, options ...RequestOption) (*Response[schema.KvV2ReadResponse], error)
- func (s *Secrets) KvV2ReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.KvV2ReadConfigurationResponse], error)
- func (s *Secrets) KvV2ReadMetadata(ctx context.Context, path string, options ...RequestOption) (*Response[schema.KvV2ReadMetadataResponse], error)
- func (s *Secrets) KvV2ReadSubkeys(ctx context.Context, path string, options ...RequestOption) (*Response[schema.KvV2ReadSubkeysResponse], 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[schema.KvV2WriteResponse], error)
- func (s *Secrets) KvV2WriteMetadata(ctx context.Context, path string, request schema.KvV2WriteMetadataRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapConfigure(ctx context.Context, request schema.LdapConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapDeleteConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapDeleteDynamicRole(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) LdapLibraryCheckIn(ctx context.Context, name string, request schema.LdapLibraryCheckInRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapLibraryCheckOut(ctx context.Context, name string, request schema.LdapLibraryCheckOutRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapLibraryCheckStatus(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapLibraryConfigure(ctx context.Context, name string, request schema.LdapLibraryConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapLibraryDelete(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapLibraryForceCheckIn(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapLibraryList(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) LdapLibraryRead(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapListDynamicRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) LdapListStaticRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) LdapReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapReadDynamicRole(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) LdapRequestDynamicRoleCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapRequestStaticRoleCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapRotateRootCredentials(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapRotateStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) LdapWriteDynamicRole(ctx context.Context, name string, request schema.LdapWriteDynamicRoleRequest, ...) (*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) MongoDbAtlasConfigure(ctx context.Context, request schema.MongoDbAtlasConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) MongoDbAtlasDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) MongoDbAtlasGenerateCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) MongoDbAtlasListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) MongoDbAtlasReadConfiguration(ctx context.Context, 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) MongoDbAtlasWriteRole(ctx context.Context, name string, request schema.MongoDbAtlasWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadConfigureAccess(ctx context.Context, request schema.NomadConfigureAccessRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadConfigureLease(ctx context.Context, request schema.NomadConfigureLeaseRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadDeleteAccessConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadDeleteLeaseConfiguration(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) NomadGenerateCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) NomadReadAccessConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) NomadReadLeaseConfiguration(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) NomadWriteRole(ctx context.Context, name string, request schema.NomadWriteRoleRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiConfigureAcme(ctx context.Context, request schema.PkiConfigureAcmeRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiConfigureAutoTidy(ctx context.Context, request schema.PkiConfigureAutoTidyRequest, ...) (*Response[schema.PkiConfigureAutoTidyResponse], error)
- func (s *Secrets) PkiConfigureCa(ctx context.Context, request schema.PkiConfigureCaRequest, ...) (*Response[schema.PkiConfigureCaResponse], error)
- func (s *Secrets) PkiConfigureCluster(ctx context.Context, request schema.PkiConfigureClusterRequest, ...) (*Response[schema.PkiConfigureClusterResponse], error)
- func (s *Secrets) PkiConfigureCrl(ctx context.Context, request schema.PkiConfigureCrlRequest, ...) (*Response[schema.PkiConfigureCrlResponse], error)
- func (s *Secrets) PkiConfigureIssuers(ctx context.Context, request schema.PkiConfigureIssuersRequest, ...) (*Response[schema.PkiConfigureIssuersResponse], error)
- func (s *Secrets) PkiConfigureKeys(ctx context.Context, request schema.PkiConfigureKeysRequest, ...) (*Response[schema.PkiConfigureKeysResponse], error)
- func (s *Secrets) PkiConfigureUrls(ctx context.Context, request schema.PkiConfigureUrlsRequest, ...) (*Response[schema.PkiConfigureUrlsResponse], error)
- func (s *Secrets) PkiCrossSignIntermediate(ctx context.Context, request schema.PkiCrossSignIntermediateRequest, ...) (*Response[schema.PkiCrossSignIntermediateResponse], error)
- func (s *Secrets) PkiDeleteEabKey(ctx context.Context, keyId string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiDeleteIssuer(ctx context.Context, issuerRef string, options ...RequestOption) (*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) PkiGenerateEabKey(ctx context.Context, options ...RequestOption) (*Response[schema.PkiGenerateEabKeyResponse], error)
- func (s *Secrets) PkiGenerateEabKeyForIssuer(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiGenerateEabKeyForIssuerResponse], error)
- func (s *Secrets) PkiGenerateEabKeyForIssuerAndRole(ctx context.Context, issuerRef string, role string, options ...RequestOption) (*Response[schema.PkiGenerateEabKeyForIssuerAndRoleResponse], error)
- func (s *Secrets) PkiGenerateEabKeyForRole(ctx context.Context, role string, options ...RequestOption) (*Response[schema.PkiGenerateEabKeyForRoleResponse], error)
- func (s *Secrets) PkiGenerateExportedKey(ctx context.Context, request schema.PkiGenerateExportedKeyRequest, ...) (*Response[schema.PkiGenerateExportedKeyResponse], error)
- func (s *Secrets) PkiGenerateIntermediate(ctx context.Context, exported string, ...) (*Response[schema.PkiGenerateIntermediateResponse], error)
- func (s *Secrets) PkiGenerateInternalKey(ctx context.Context, request schema.PkiGenerateInternalKeyRequest, ...) (*Response[schema.PkiGenerateInternalKeyResponse], error)
- func (s *Secrets) PkiGenerateKmsKey(ctx context.Context, request schema.PkiGenerateKmsKeyRequest, ...) (*Response[schema.PkiGenerateKmsKeyResponse], error)
- func (s *Secrets) PkiGenerateRoot(ctx context.Context, exported string, request schema.PkiGenerateRootRequest, ...) (*Response[schema.PkiGenerateRootResponse], error)
- func (s *Secrets) PkiImportKey(ctx context.Context, request schema.PkiImportKeyRequest, ...) (*Response[schema.PkiImportKeyResponse], error)
- func (s *Secrets) PkiIssueWithRole(ctx context.Context, role string, request schema.PkiIssueWithRoleRequest, ...) (*Response[schema.PkiIssueWithRoleResponse], error)
- func (s *Secrets) PkiIssuerIssueWithRole(ctx context.Context, issuerRef string, role string, ...) (*Response[schema.PkiIssuerIssueWithRoleResponse], error)
- func (s *Secrets) PkiIssuerReadCrl(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiIssuerReadCrlResponse], error)
- func (s *Secrets) PkiIssuerReadCrlDelta(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiIssuerReadCrlDeltaResponse], error)
- func (s *Secrets) PkiIssuerReadCrlDeltaDer(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiIssuerReadCrlDeltaDerResponse], error)
- func (s *Secrets) PkiIssuerReadCrlDeltaPem(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiIssuerReadCrlDeltaPemResponse], error)
- func (s *Secrets) PkiIssuerReadCrlDer(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiIssuerReadCrlDerResponse], error)
- func (s *Secrets) PkiIssuerReadCrlPem(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiIssuerReadCrlPemResponse], error)
- func (s *Secrets) PkiIssuerResignCrls(ctx context.Context, issuerRef string, ...) (*Response[schema.PkiIssuerResignCrlsResponse], error)
- func (s *Secrets) PkiIssuerSignIntermediate(ctx context.Context, issuerRef string, ...) (*Response[schema.PkiIssuerSignIntermediateResponse], error)
- func (s *Secrets) PkiIssuerSignRevocationList(ctx context.Context, issuerRef string, ...) (*Response[schema.PkiIssuerSignRevocationListResponse], error)
- func (s *Secrets) PkiIssuerSignSelfIssued(ctx context.Context, issuerRef string, ...) (*Response[schema.PkiIssuerSignSelfIssuedResponse], error)
- func (s *Secrets) PkiIssuerSignVerbatim(ctx context.Context, issuerRef string, ...) (*Response[schema.PkiIssuerSignVerbatimResponse], error)
- func (s *Secrets) PkiIssuerSignVerbatimWithRole(ctx context.Context, issuerRef string, role string, ...) (*Response[schema.PkiIssuerSignVerbatimWithRoleResponse], error)
- func (s *Secrets) PkiIssuerSignWithRole(ctx context.Context, issuerRef string, role string, ...) (*Response[schema.PkiIssuerSignWithRoleResponse], error)
- func (s *Secrets) PkiIssuersGenerateIntermediate(ctx context.Context, exported string, ...) (*Response[schema.PkiIssuersGenerateIntermediateResponse], error)
- func (s *Secrets) PkiIssuersGenerateRoot(ctx context.Context, exported string, ...) (*Response[schema.PkiIssuersGenerateRootResponse], error)
- func (s *Secrets) PkiIssuersImportBundle(ctx context.Context, request schema.PkiIssuersImportBundleRequest, ...) (*Response[schema.PkiIssuersImportBundleResponse], error)
- func (s *Secrets) PkiIssuersImportCert(ctx context.Context, request schema.PkiIssuersImportCertRequest, ...) (*Response[schema.PkiIssuersImportCertResponse], error)
- func (s *Secrets) PkiListCerts(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) PkiListEabKeys(ctx context.Context, options ...RequestOption) (*Response[schema.PkiListEabKeysResponse], error)
- func (s *Secrets) PkiListIssuers(ctx context.Context, options ...RequestOption) (*Response[schema.PkiListIssuersResponse], error)
- func (s *Secrets) PkiListKeys(ctx context.Context, options ...RequestOption) (*Response[schema.PkiListKeysResponse], error)
- func (s *Secrets) PkiListRevokedCerts(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) PkiListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) PkiQueryOcsp(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiQueryOcspWithGetReq(ctx context.Context, req string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadAcmeConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadAcmeDirectory(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadAcmeNewNonce(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadAutoTidyConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadAutoTidyConfigurationResponse], error)
- func (s *Secrets) PkiReadCaChainPem(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCaChainPemResponse], error)
- func (s *Secrets) PkiReadCaDer(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCaDerResponse], error)
- func (s *Secrets) PkiReadCaPem(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCaPemResponse], error)
- func (s *Secrets) PkiReadCert(ctx context.Context, serial string, options ...RequestOption) (*Response[schema.PkiReadCertResponse], error)
- func (s *Secrets) PkiReadCertCaChain(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCertCaChainResponse], error)
- func (s *Secrets) PkiReadCertCrl(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCertCrlResponse], error)
- func (s *Secrets) PkiReadCertDeltaCrl(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCertDeltaCrlResponse], error)
- func (s *Secrets) PkiReadCertRawDer(ctx context.Context, serial string, options ...RequestOption) (*Response[schema.PkiReadCertRawDerResponse], error)
- func (s *Secrets) PkiReadCertRawPem(ctx context.Context, serial string, options ...RequestOption) (*Response[schema.PkiReadCertRawPemResponse], error)
- func (s *Secrets) PkiReadClusterConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadClusterConfigurationResponse], error)
- func (s *Secrets) PkiReadCrlConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCrlConfigurationResponse], error)
- func (s *Secrets) PkiReadCrlDelta(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCrlDeltaResponse], error)
- func (s *Secrets) PkiReadCrlDeltaPem(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCrlDeltaPemResponse], error)
- func (s *Secrets) PkiReadCrlDer(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCrlDerResponse], error)
- func (s *Secrets) PkiReadCrlPem(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCrlPemResponse], error)
- func (s *Secrets) PkiReadIssuer(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiReadIssuerResponse], error)
- func (s *Secrets) PkiReadIssuerDer(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiReadIssuerDerResponse], error)
- func (s *Secrets) PkiReadIssuerIssuerRefAcmeDirectory(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadIssuerIssuerRefAcmeNewNonce(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadIssuerIssuerRefRolesRoleAcmeDirectory(ctx context.Context, issuerRef string, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadIssuerIssuerRefRolesRoleAcmeNewNonce(ctx context.Context, issuerRef string, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadIssuerJson(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiReadIssuerJsonResponse], error)
- func (s *Secrets) PkiReadIssuerPem(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiReadIssuerPemResponse], error)
- func (s *Secrets) PkiReadIssuersConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadIssuersConfigurationResponse], error)
- func (s *Secrets) PkiReadKey(ctx context.Context, keyRef string, options ...RequestOption) (*Response[schema.PkiReadKeyResponse], error)
- func (s *Secrets) PkiReadKeysConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadKeysConfigurationResponse], error)
- func (s *Secrets) PkiReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[schema.PkiReadRoleResponse], error)
- func (s *Secrets) PkiReadRolesRoleAcmeDirectory(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadRolesRoleAcmeNewNonce(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiReadUrlsConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadUrlsConfigurationResponse], error)
- func (s *Secrets) PkiReplaceRoot(ctx context.Context, request schema.PkiReplaceRootRequest, ...) (*Response[schema.PkiReplaceRootResponse], error)
- func (s *Secrets) PkiRevoke(ctx context.Context, request schema.PkiRevokeRequest, options ...RequestOption) (*Response[schema.PkiRevokeResponse], error)
- func (s *Secrets) PkiRevokeIssuer(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiRevokeIssuerResponse], error)
- func (s *Secrets) PkiRevokeWithKey(ctx context.Context, request schema.PkiRevokeWithKeyRequest, ...) (*Response[schema.PkiRevokeWithKeyResponse], error)
- func (s *Secrets) PkiRootSignIntermediate(ctx context.Context, request schema.PkiRootSignIntermediateRequest, ...) (*Response[schema.PkiRootSignIntermediateResponse], error)
- func (s *Secrets) PkiRootSignSelfIssued(ctx context.Context, request schema.PkiRootSignSelfIssuedRequest, ...) (*Response[schema.PkiRootSignSelfIssuedResponse], error)
- func (s *Secrets) PkiRotateCrl(ctx context.Context, options ...RequestOption) (*Response[schema.PkiRotateCrlResponse], error)
- func (s *Secrets) PkiRotateDeltaCrl(ctx context.Context, options ...RequestOption) (*Response[schema.PkiRotateDeltaCrlResponse], error)
- func (s *Secrets) PkiRotateRoot(ctx context.Context, exported string, request schema.PkiRotateRootRequest, ...) (*Response[schema.PkiRotateRootResponse], error)
- func (s *Secrets) PkiSetSignedIntermediate(ctx context.Context, request schema.PkiSetSignedIntermediateRequest, ...) (*Response[schema.PkiSetSignedIntermediateResponse], error)
- func (s *Secrets) PkiSignVerbatim(ctx context.Context, request schema.PkiSignVerbatimRequest, ...) (*Response[schema.PkiSignVerbatimResponse], error)
- func (s *Secrets) PkiSignVerbatimWithRole(ctx context.Context, role string, ...) (*Response[schema.PkiSignVerbatimWithRoleResponse], error)
- func (s *Secrets) PkiSignWithRole(ctx context.Context, role string, request schema.PkiSignWithRoleRequest, ...) (*Response[schema.PkiSignWithRoleResponse], 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[schema.PkiTidyCancelResponse], error)
- func (s *Secrets) PkiTidyStatus(ctx context.Context, options ...RequestOption) (*Response[schema.PkiTidyStatusResponse], error)
- func (s *Secrets) PkiWriteAcmeAccountKid(ctx context.Context, kid string, request schema.PkiWriteAcmeAccountKidRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteAcmeAuthorizationAuthId(ctx context.Context, authId string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteAcmeChallengeAuthIdChallengeType(ctx context.Context, authId string, challengeType string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteAcmeNewAccount(ctx context.Context, request schema.PkiWriteAcmeNewAccountRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteAcmeNewOrder(ctx context.Context, request schema.PkiWriteAcmeNewOrderRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteAcmeOrderOrderId(ctx context.Context, orderId string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteAcmeOrderOrderIdCert(ctx context.Context, orderId string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteAcmeOrderOrderIdFinalize(ctx context.Context, orderId string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteAcmeOrders(ctx context.Context, request schema.PkiWriteAcmeOrdersRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteAcmeRevokeCert(ctx context.Context, request schema.PkiWriteAcmeRevokeCertRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuer(ctx context.Context, issuerRef string, request schema.PkiWriteIssuerRequest, ...) (*Response[schema.PkiWriteIssuerResponse], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefAcmeAccountKid(ctx context.Context, issuerRef string, kid string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefAcmeAuthorizationAuthId(ctx context.Context, authId string, issuerRef string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefAcmeChallengeAuthIdChallengeType(ctx context.Context, authId string, challengeType string, issuerRef string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefAcmeNewAccount(ctx context.Context, issuerRef string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefAcmeNewOrder(ctx context.Context, issuerRef string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefAcmeOrderOrderId(ctx context.Context, issuerRef string, orderId string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefAcmeOrderOrderIdCert(ctx context.Context, issuerRef string, orderId string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefAcmeOrderOrderIdFinalize(ctx context.Context, issuerRef string, orderId string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefAcmeOrders(ctx context.Context, issuerRef string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefAcmeRevokeCert(ctx context.Context, issuerRef string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeAccountKid(ctx context.Context, issuerRef string, kid string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeAuthorizationAuthId(ctx context.Context, authId string, issuerRef string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeChallengeAuthIdChallengeType(ctx context.Context, authId string, challengeType string, issuerRef string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeNewAccount(ctx context.Context, issuerRef string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeNewOrder(ctx context.Context, issuerRef string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderId(ctx context.Context, issuerRef string, orderId string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdCert(ctx context.Context, issuerRef string, orderId string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdFinalize(ctx context.Context, issuerRef string, orderId string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeOrders(ctx context.Context, issuerRef string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeRevokeCert(ctx context.Context, issuerRef string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteKey(ctx context.Context, keyRef string, request schema.PkiWriteKeyRequest, ...) (*Response[schema.PkiWriteKeyResponse], error)
- func (s *Secrets) PkiWriteRole(ctx context.Context, name string, request schema.PkiWriteRoleRequest, ...) (*Response[schema.PkiWriteRoleResponse], error)
- func (s *Secrets) PkiWriteRolesRoleAcmeAccountKid(ctx context.Context, kid string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteRolesRoleAcmeAuthorizationAuthId(ctx context.Context, authId string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteRolesRoleAcmeChallengeAuthIdChallengeType(ctx context.Context, authId string, challengeType string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteRolesRoleAcmeNewAccount(ctx context.Context, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteRolesRoleAcmeNewOrder(ctx context.Context, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteRolesRoleAcmeOrderOrderId(ctx context.Context, orderId string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteRolesRoleAcmeOrderOrderIdCert(ctx context.Context, orderId string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteRolesRoleAcmeOrderOrderIdFinalize(ctx context.Context, orderId string, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteRolesRoleAcmeOrders(ctx context.Context, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) PkiWriteRolesRoleAcmeRevokeCert(ctx context.Context, role string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) RabbitMqConfigureConnection(ctx context.Context, request schema.RabbitMqConfigureConnectionRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) RabbitMqConfigureLease(ctx context.Context, request schema.RabbitMqConfigureLeaseRequest, ...) (*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[schema.StandardListResponse], error)
- func (s *Secrets) RabbitMqReadLeaseConfiguration(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) RabbitMqRequestCredentials(ctx context.Context, name string, options ...RequestOption) (*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) SshConfigureCa(ctx context.Context, request schema.SshConfigureCaRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) SshConfigureZeroAddress(ctx context.Context, request schema.SshConfigureZeroAddressRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) SshDeleteCaConfiguration(ctx context.Context, 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) SshDeleteZeroAddressConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) SshGenerateCredentials(ctx context.Context, role string, request schema.SshGenerateCredentialsRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) SshIssueCertificate(ctx context.Context, role string, request schema.SshIssueCertificateRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) SshListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) SshListRolesByIp(ctx context.Context, request schema.SshListRolesByIpRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) SshReadCaConfiguration(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) SshReadZeroAddressConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) SshSignCertificate(ctx context.Context, role string, request schema.SshSignCertificateRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) SshTidyDynamicHostKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) SshVerifyOtp(ctx context.Context, request schema.SshVerifyOtpRequest, ...) (*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) TerraformCloudConfigure(ctx context.Context, request schema.TerraformCloudConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformCloudDeleteConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformCloudDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformCloudGenerateCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformCloudListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) TerraformCloudReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformCloudReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformCloudRotateRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TerraformCloudWriteRole(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TotpCreateKey(ctx context.Context, name string, request schema.TotpCreateKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TotpDeleteKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TotpGenerateCode(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TotpListKeys(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *Secrets) TotpReadKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TotpValidateCode(ctx context.Context, name string, request schema.TotpValidateCodeRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitBackUpKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitByokKey(ctx context.Context, destination string, source string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitByokKeyVersion(ctx context.Context, destination string, source string, version string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitConfigureCache(ctx context.Context, request schema.TransitConfigureCacheRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitConfigureKey(ctx context.Context, name string, request schema.TransitConfigureKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitConfigureKeys(ctx context.Context, request schema.TransitConfigureKeysRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitCreateKey(ctx context.Context, name string, request schema.TransitCreateKeyRequest, ...) (*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) TransitExportKey(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitExportKeyVersion(ctx context.Context, name string, type_ string, version string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitGenerateCsrForKey(ctx context.Context, name 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) TransitGenerateRandomWithBytes(ctx context.Context, urlbytes string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitGenerateRandomWithSource(ctx context.Context, source string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitGenerateRandomWithSourceAndBytes(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[schema.StandardListResponse], error)
- func (s *Secrets) TransitReadCacheConfiguration(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) TransitReadKeysConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitReadWrappingKey(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitRestoreAndRenameKey(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitRestoreKey(ctx context.Context, 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, request schema.TransitRotateKeyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *Secrets) TransitSetCertificateForKey(ctx context.Context, name string, ...) (*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)
- type ServerCertificateEntry
- type System
- func (s *System) AuditingCalculateHash(ctx context.Context, path string, request schema.AuditingCalculateHashRequest, ...) (*Response[schema.AuditingCalculateHashResponse], error)
- func (s *System) AuditingDisableDevice(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) AuditingDisableRequestHeader(ctx context.Context, header string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) AuditingEnableDevice(ctx context.Context, path string, request schema.AuditingEnableDeviceRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) AuditingEnableRequestHeader(ctx context.Context, header string, ...) (*Response[map[string]interface{}], error)
- func (s *System) AuditingListEnabledDevices(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) AuditingListRequestHeaders(ctx context.Context, options ...RequestOption) (*Response[schema.AuditingListRequestHeadersResponse], error)
- func (s *System) AuditingReadRequestHeaderInformation(ctx context.Context, header string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) AuthDisableMethod(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) AuthEnableMethod(ctx context.Context, path string, request schema.AuthEnableMethodRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) AuthListEnabledMethods(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) AuthReadConfiguration(ctx context.Context, path string, options ...RequestOption) (*Response[schema.AuthReadConfigurationResponse], error)
- func (s *System) AuthReadTuningInformation(ctx context.Context, path string, options ...RequestOption) (*Response[schema.AuthReadTuningInformationResponse], error)
- func (s *System) AuthTuneConfigurationParameters(ctx context.Context, path string, ...) (*Response[map[string]interface{}], error)
- func (s *System) CollectHostInformation(ctx context.Context, options ...RequestOption) (*Response[schema.CollectHostInformationResponse], error)
- func (s *System) CollectInFlightRequestInformation(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) CorsConfigure(ctx context.Context, request schema.CorsConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) CorsDeleteConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) CorsReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.CorsReadConfigurationResponse], error)
- func (s *System) Decode(ctx context.Context, request schema.DecodeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) EncryptionKeyConfigureRotation(ctx context.Context, request schema.EncryptionKeyConfigureRotationRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) EncryptionKeyReadRotationConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.EncryptionKeyReadRotationConfigurationResponse], error)
- func (s *System) EncryptionKeyRotate(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) EncryptionKeyStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) GenerateHash(ctx context.Context, request schema.GenerateHashRequest, ...) (*Response[schema.GenerateHashResponse], error)
- func (s *System) GenerateHashWithAlgorithm(ctx context.Context, urlalgorithm string, ...) (*Response[schema.GenerateHashWithAlgorithmResponse], error)
- func (s *System) GenerateRandom(ctx context.Context, request schema.GenerateRandomRequest, ...) (*Response[schema.GenerateRandomResponse], error)
- func (s *System) GenerateRandomWithBytes(ctx context.Context, urlbytes string, ...) (*Response[schema.GenerateRandomWithBytesResponse], error)
- func (s *System) GenerateRandomWithSource(ctx context.Context, source string, ...) (*Response[schema.GenerateRandomWithSourceResponse], error)
- func (s *System) GenerateRandomWithSourceAndBytes(ctx context.Context, source string, urlbytes string, ...) (*Response[schema.GenerateRandomWithSourceAndBytesResponse], error)
- func (s *System) HaStatus(ctx context.Context, options ...RequestOption) (*Response[schema.HaStatusResponse], error)
- func (s *System) Initialize(ctx context.Context, request schema.InitializeRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) InternalClientActivityConfigure(ctx context.Context, request schema.InternalClientActivityConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) InternalClientActivityExport(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) InternalClientActivityReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) InternalClientActivityReportCounts(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) InternalClientActivityReportCountsThisMonth(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) InternalCountEntities(ctx context.Context, options ...RequestOption) (*Response[schema.InternalCountEntitiesResponse], error)
- func (s *System) InternalCountRequests(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) InternalCountTokens(ctx context.Context, options ...RequestOption) (*Response[schema.InternalCountTokensResponse], error)
- func (s *System) InternalGenerateOpenApiDocument(ctx context.Context, context string, genericMountPaths bool, ...) (*Response[map[string]interface{}], error)
- func (s *System) InternalGenerateOpenApiDocumentWithParameters(ctx context.Context, ...) (*Response[map[string]interface{}], error)
- func (s *System) InternalInspectRouter(ctx context.Context, tag string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) InternalUiListEnabledFeatureFlags(ctx context.Context, options ...RequestOption) (*Response[schema.InternalUiListEnabledFeatureFlagsResponse], error)
- func (s *System) InternalUiListEnabledVisibleMounts(ctx context.Context, options ...RequestOption) (*Response[schema.InternalUiListEnabledVisibleMountsResponse], error)
- func (s *System) InternalUiListNamespaces(ctx context.Context, options ...RequestOption) (*Response[schema.InternalUiListNamespacesResponse], error)
- func (s *System) InternalUiReadMountInformation(ctx context.Context, path string, options ...RequestOption) (*Response[schema.InternalUiReadMountInformationResponse], error)
- func (s *System) InternalUiReadResultantAcl(ctx context.Context, options ...RequestOption) (*Response[schema.InternalUiReadResultantAclResponse], error)
- func (s *System) LeaderStatus(ctx context.Context, options ...RequestOption) (*Response[schema.LeaderStatusResponse], error)
- func (s *System) LeasesCount(ctx context.Context, options ...RequestOption) (*Response[schema.LeasesCountResponse], error)
- func (s *System) LeasesForceRevokeLeaseWithPrefix(ctx context.Context, prefix string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) LeasesList(ctx context.Context, options ...RequestOption) (*Response[schema.LeasesListResponse], error)
- func (s *System) LeasesLookUp(ctx context.Context, prefix string, options ...RequestOption) (*Response[schema.LeasesLookUpResponse], error)
- func (s *System) LeasesReadLease(ctx context.Context, request schema.LeasesReadLeaseRequest, ...) (*Response[schema.LeasesReadLeaseResponse], error)
- func (s *System) LeasesRenewLease(ctx context.Context, request schema.LeasesRenewLeaseRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) LeasesRenewLeaseWithId(ctx context.Context, urlLeaseId string, ...) (*Response[map[string]interface{}], error)
- func (s *System) LeasesRevokeLease(ctx context.Context, request schema.LeasesRevokeLeaseRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) LeasesRevokeLeaseWithId(ctx context.Context, urlLeaseId string, ...) (*Response[map[string]interface{}], error)
- func (s *System) LeasesRevokeLeaseWithPrefix(ctx context.Context, prefix string, ...) (*Response[map[string]interface{}], error)
- func (s *System) LeasesTidy(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ListExperimentalFeatures(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) LockedUsersList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) LockedUsersUnlock(ctx context.Context, aliasIdentifier string, mountAccessor string, ...) (*Response[map[string]interface{}], error)
- func (s *System) LoggersReadVerbosityLevel(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) LoggersReadVerbosityLevelFor(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) LoggersRevertVerbosityLevel(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) LoggersRevertVerbosityLevelFor(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) LoggersUpdateVerbosityLevel(ctx context.Context, request schema.LoggersUpdateVerbosityLevelRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) LoggersUpdateVerbosityLevelFor(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *System) Metrics(ctx context.Context, format string, 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) MountsDisableSecretsEngine(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) MountsEnableSecretsEngine(ctx context.Context, path string, ...) (*Response[map[string]interface{}], error)
- func (s *System) MountsListSecretsEngines(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) MountsReadConfiguration(ctx context.Context, path string, options ...RequestOption) (*Response[schema.MountsReadConfigurationResponse], error)
- func (s *System) MountsReadTuningInformation(ctx context.Context, path string, options ...RequestOption) (*Response[schema.MountsReadTuningInformationResponse], error)
- func (s *System) MountsTuneConfigurationParameters(ctx context.Context, path string, ...) (*Response[map[string]interface{}], error)
- func (s *System) PluginsCatalogListPlugins(ctx context.Context, options ...RequestOption) (*Response[schema.PluginsCatalogListPluginsResponse], error)
- func (s *System) PluginsCatalogListPluginsWithType(ctx context.Context, type_ string, options ...RequestOption) (*Response[schema.PluginsCatalogListPluginsWithTypeResponse], error)
- func (s *System) PluginsCatalogReadPluginConfiguration(ctx context.Context, name string, options ...RequestOption) (*Response[schema.PluginsCatalogReadPluginConfigurationResponse], error)
- func (s *System) PluginsCatalogReadPluginConfigurationWithType(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[schema.PluginsCatalogReadPluginConfigurationWithTypeResponse], error)
- func (s *System) PluginsCatalogRegisterPlugin(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *System) PluginsCatalogRegisterPluginWithType(ctx context.Context, name string, type_ string, ...) (*Response[map[string]interface{}], error)
- func (s *System) PluginsCatalogRemovePlugin(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PluginsCatalogRemovePluginWithType(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PluginsReloadBackends(ctx context.Context, request schema.PluginsReloadBackendsRequest, ...) (*Response[schema.PluginsReloadBackendsResponse], error)
- func (s *System) PluginsRuntimesCatalogListPluginsRuntimes(ctx context.Context, options ...RequestOption) (*Response[schema.PluginsRuntimesCatalogListPluginsRuntimesResponse], error)
- func (s *System) PluginsRuntimesCatalogReadPluginRuntimeConfiguration(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[schema.PluginsRuntimesCatalogReadPluginRuntimeConfigurationResponse], ...)
- func (s *System) PluginsRuntimesCatalogRegisterPluginRuntime(ctx context.Context, name string, type_ string, ...) (*Response[map[string]interface{}], error)
- func (s *System) PluginsRuntimesCatalogRemovePluginRuntime(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PoliciesDeleteAclPolicy(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PoliciesDeletePasswordPolicy(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PoliciesGeneratePasswordFromPasswordPolicy(ctx context.Context, name string, options ...RequestOption) (*Response[schema.PoliciesGeneratePasswordFromPasswordPolicyResponse], error)
- func (s *System) PoliciesListAclPolicies(ctx context.Context, options ...RequestOption) (*Response[schema.PoliciesListAclPoliciesResponse], error)
- func (s *System) PoliciesListPasswordPolicies(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *System) PoliciesReadAclPolicy(ctx context.Context, name string, options ...RequestOption) (*Response[schema.PoliciesReadAclPolicyResponse], error)
- func (s *System) PoliciesReadPasswordPolicy(ctx context.Context, name string, options ...RequestOption) (*Response[schema.PoliciesReadPasswordPolicyResponse], error)
- func (s *System) PoliciesWriteAclPolicy(ctx context.Context, name string, request schema.PoliciesWriteAclPolicyRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) PoliciesWritePasswordPolicy(ctx context.Context, name string, ...) (*Response[map[string]interface{}], error)
- func (s *System) PprofBlocking(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofCommandLine(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofCpuProfile(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofExecutionTrace(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofGoroutines(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofIndex(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofMemoryAllocations(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofMemoryAllocationsLive(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofMutexes(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofSymbols(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) PprofThreadCreations(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) QueryTokenAccessorCapabilities(ctx context.Context, request schema.QueryTokenAccessorCapabilitiesRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) QueryTokenCapabilities(ctx context.Context, request schema.QueryTokenCapabilitiesRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) QueryTokenSelfCapabilities(ctx context.Context, request schema.QueryTokenSelfCapabilitiesRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) RateLimitQuotasConfigure(ctx context.Context, request schema.RateLimitQuotasConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) RateLimitQuotasDelete(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) RateLimitQuotasList(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *System) RateLimitQuotasRead(ctx context.Context, name string, options ...RequestOption) (*Response[schema.RateLimitQuotasReadResponse], error)
- func (s *System) RateLimitQuotasReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.RateLimitQuotasReadConfigurationResponse], error)
- func (s *System) RateLimitQuotasWrite(ctx context.Context, name string, request schema.RateLimitQuotasWriteRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) RawDelete(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) RawList(ctx context.Context, path string, options ...RequestOption) (*Response[schema.StandardListResponse], error)
- func (s *System) RawRead(ctx context.Context, path string, options ...RequestOption) (*Response[schema.RawReadResponse], error)
- func (s *System) RawWrite(ctx context.Context, path string, request schema.RawWriteRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) ReadHealthStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadInitializationStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadReplicationStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadSanitizedConfigurationState(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) ReadWrappingProperties(ctx context.Context, request schema.ReadWrappingPropertiesRequest, ...) (*Response[schema.ReadWrappingPropertiesResponse], error)
- func (s *System) RekeyAttemptCancel(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) RekeyAttemptInitialize(ctx context.Context, request schema.RekeyAttemptInitializeRequest, ...) (*Response[schema.RekeyAttemptInitializeResponse], error)
- func (s *System) RekeyAttemptReadProgress(ctx context.Context, options ...RequestOption) (*Response[schema.RekeyAttemptReadProgressResponse], error)
- func (s *System) RekeyAttemptUpdate(ctx context.Context, request schema.RekeyAttemptUpdateRequest, ...) (*Response[schema.RekeyAttemptUpdateResponse], error)
- func (s *System) RekeyDeleteBackupKey(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) RekeyDeleteBackupRecoveryKey(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) RekeyReadBackupKey(ctx context.Context, options ...RequestOption) (*Response[schema.RekeyReadBackupKeyResponse], error)
- func (s *System) RekeyReadBackupRecoveryKey(ctx context.Context, options ...RequestOption) (*Response[schema.RekeyReadBackupRecoveryKeyResponse], error)
- func (s *System) RekeyVerificationCancel(ctx context.Context, options ...RequestOption) (*Response[schema.RekeyVerificationCancelResponse], error)
- func (s *System) RekeyVerificationReadProgress(ctx context.Context, options ...RequestOption) (*Response[schema.RekeyVerificationReadProgressResponse], error)
- func (s *System) RekeyVerificationUpdate(ctx context.Context, request schema.RekeyVerificationUpdateRequest, ...) (*Response[schema.RekeyVerificationUpdateResponse], error)
- func (s *System) ReloadSubsystem(ctx context.Context, subsystem string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) Remount(ctx context.Context, request schema.RemountRequest, options ...RequestOption) (*Response[schema.RemountResponse], error)
- func (s *System) RemountStatus(ctx context.Context, migrationId string, options ...RequestOption) (*Response[schema.RemountStatusResponse], error)
- func (s *System) Rewrap(ctx context.Context, request schema.RewrapRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) RootTokenGenerationCancel(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) RootTokenGenerationInitialize(ctx context.Context, request schema.RootTokenGenerationInitializeRequest, ...) (*Response[schema.RootTokenGenerationInitializeResponse], error)
- func (s *System) RootTokenGenerationReadProgress(ctx context.Context, options ...RequestOption) (*Response[schema.RootTokenGenerationReadProgressResponse], error)
- func (s *System) RootTokenGenerationUpdate(ctx context.Context, request schema.RootTokenGenerationUpdateRequest, ...) (*Response[schema.RootTokenGenerationUpdateResponse], error)
- func (s *System) Seal(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) SealStatus(ctx context.Context, options ...RequestOption) (*Response[schema.SealStatusResponse], error)
- func (s *System) StepDownLeader(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) UiHeadersConfigure(ctx context.Context, header string, request schema.UiHeadersConfigureRequest, ...) (*Response[map[string]interface{}], error)
- func (s *System) UiHeadersDeleteConfiguration(ctx context.Context, header string, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) UiHeadersList(ctx context.Context, options ...RequestOption) (*Response[schema.UiHeadersListResponse], error)
- func (s *System) UiHeadersReadConfiguration(ctx context.Context, header string, options ...RequestOption) (*Response[schema.UiHeadersReadConfigurationResponse], error)
- func (s *System) Unseal(ctx context.Context, request schema.UnsealRequest, options ...RequestOption) (*Response[schema.UnsealResponse], error)
- func (s *System) Unwrap(ctx context.Context, request schema.UnwrapRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
- func (s *System) VersionHistory(ctx context.Context, options ...RequestOption) (*Response[schema.VersionHistoryResponse], error)
- func (s *System) Wrap(ctx context.Context, request map[string]interface{}, options ...RequestOption) (*Response[map[string]interface{}], error)
- type TLSConfiguration
Constants ¶
const ClientVersion = "0.4.1"
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) 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[schema.StandardListResponse], error)
AliCloudListAuthRoles 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) 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) 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) AppRoleDestroySecretId ¶
func (a *Auth) AppRoleDestroySecretId(ctx context.Context, roleName string, request schema.AppRoleDestroySecretIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDestroySecretId roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleDestroySecretIdByAccessor ¶
func (a *Auth) AppRoleDestroySecretIdByAccessor(ctx context.Context, roleName string, request schema.AppRoleDestroySecretIdByAccessorRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AppRoleDestroySecretIdByAccessor 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.StandardListResponse], error)
AppRoleListRoles
func (*Auth) AppRoleListSecretIds ¶
func (a *Auth) AppRoleListSecretIds(ctx context.Context, roleName string, options ...RequestOption) (*Response[schema.StandardListResponse], error)
AppRoleListSecretIds 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) AppRoleLookUpSecretId ¶
func (a *Auth) AppRoleLookUpSecretId(ctx context.Context, roleName string, request schema.AppRoleLookUpSecretIdRequest, options ...RequestOption) (*Response[schema.AppRoleLookUpSecretIdResponse], error)
AppRoleLookUpSecretId roleName: Name of the role. Must be less than 4096 bytes.
func (*Auth) AppRoleLookUpSecretIdByAccessor ¶
func (a *Auth) AppRoleLookUpSecretIdByAccessor(ctx context.Context, roleName string, request schema.AppRoleLookUpSecretIdByAccessorRequest, options ...RequestOption) (*Response[schema.AppRoleLookUpSecretIdByAccessorResponse], error)
AppRoleLookUpSecretIdByAccessor roleName: Name of the role. Must be less than 4096 bytes.
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
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) 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) 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) AwsConfigureCertificate ¶
func (a *Auth) AwsConfigureCertificate(ctx context.Context, certName string, request schema.AwsConfigureCertificateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsConfigureCertificate certName: Name of the certificate.
func (*Auth) AwsConfigureClient ¶
func (a *Auth) AwsConfigureClient(ctx context.Context, request schema.AwsConfigureClientRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsConfigureClient
func (*Auth) AwsConfigureIdentityAccessListTidyOperation ¶
func (a *Auth) AwsConfigureIdentityAccessListTidyOperation(ctx context.Context, request schema.AwsConfigureIdentityAccessListTidyOperationRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsConfigureIdentityAccessListTidyOperation
func (*Auth) AwsConfigureIdentityIntegration ¶
func (a *Auth) AwsConfigureIdentityIntegration(ctx context.Context, request schema.AwsConfigureIdentityIntegrationRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsConfigureIdentityIntegration
func (*Auth) AwsConfigureIdentityWhitelistTidyOperation ¶
func (a *Auth) AwsConfigureIdentityWhitelistTidyOperation(ctx context.Context, request schema.AwsConfigureIdentityWhitelistTidyOperationRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsConfigureIdentityWhitelistTidyOperation
func (*Auth) AwsConfigureRoleTagBlacklistTidyOperation ¶
func (a *Auth) AwsConfigureRoleTagBlacklistTidyOperation(ctx context.Context, request schema.AwsConfigureRoleTagBlacklistTidyOperationRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsConfigureRoleTagBlacklistTidyOperation
func (*Auth) AwsConfigureRoleTagDenyListTidyOperation ¶
func (a *Auth) AwsConfigureRoleTagDenyListTidyOperation(ctx context.Context, request schema.AwsConfigureRoleTagDenyListTidyOperationRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsConfigureRoleTagDenyListTidyOperation
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) AwsDeleteCertificateConfiguration ¶
func (a *Auth) AwsDeleteCertificateConfiguration(ctx context.Context, certName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsDeleteCertificateConfiguration certName: Name of the certificate.
func (*Auth) AwsDeleteClientConfiguration ¶
func (a *Auth) AwsDeleteClientConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsDeleteClientConfiguration
func (*Auth) AwsDeleteIdentityAccessList ¶
func (a *Auth) AwsDeleteIdentityAccessList(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsDeleteIdentityAccessList instanceId: EC2 instance ID. A successful login operation from an EC2 instance gets cached in this accesslist, keyed off of instance ID.
func (*Auth) AwsDeleteIdentityAccessListTidySettings ¶
func (a *Auth) AwsDeleteIdentityAccessListTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsDeleteIdentityAccessListTidySettings
func (*Auth) AwsDeleteIdentityWhitelist ¶
func (a *Auth) AwsDeleteIdentityWhitelist(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsDeleteIdentityWhitelist instanceId: EC2 instance ID. A successful login operation from an EC2 instance gets cached in this accesslist, keyed off of instance ID.
func (*Auth) AwsDeleteIdentityWhitelistTidySettings ¶
func (a *Auth) AwsDeleteIdentityWhitelistTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsDeleteIdentityWhitelistTidySettings
func (*Auth) AwsDeleteRoleTagBlacklist ¶
func (a *Auth) AwsDeleteRoleTagBlacklist(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsDeleteRoleTagBlacklist 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) AwsDeleteRoleTagBlacklistTidySettings ¶
func (a *Auth) AwsDeleteRoleTagBlacklistTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsDeleteRoleTagBlacklistTidySettings
func (*Auth) AwsDeleteRoleTagDenyList ¶
func (a *Auth) AwsDeleteRoleTagDenyList(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsDeleteRoleTagDenyList 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) AwsDeleteRoleTagDenyListTidySettings ¶
func (a *Auth) AwsDeleteRoleTagDenyListTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsDeleteRoleTagDenyListTidySettings
func (*Auth) AwsDeleteStsRole ¶
func (a *Auth) AwsDeleteStsRole(ctx context.Context, accountId string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsDeleteStsRole 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) AwsListAuthRoles ¶
func (a *Auth) AwsListAuthRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
AwsListAuthRoles
func (*Auth) AwsListCertificateConfigurations ¶
func (a *Auth) AwsListCertificateConfigurations(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
AwsListCertificateConfigurations
func (*Auth) AwsListIdentityAccessList ¶
func (a *Auth) AwsListIdentityAccessList(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
AwsListIdentityAccessList
func (*Auth) AwsListIdentityWhitelist ¶
func (a *Auth) AwsListIdentityWhitelist(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
AwsListIdentityWhitelist
func (*Auth) AwsListRoleTagBlacklists ¶
func (a *Auth) AwsListRoleTagBlacklists(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
AwsListRoleTagBlacklists
func (*Auth) AwsListRoleTagDenyLists ¶
func (a *Auth) AwsListRoleTagDenyLists(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
AwsListRoleTagDenyLists
func (*Auth) AwsListStsRoleRelationships ¶
func (a *Auth) AwsListStsRoleRelationships(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
AwsListStsRoleRelationships
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) AwsReadCertificateConfiguration ¶
func (a *Auth) AwsReadCertificateConfiguration(ctx context.Context, certName string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsReadCertificateConfiguration certName: Name of the certificate.
func (*Auth) AwsReadClientConfiguration ¶
func (a *Auth) AwsReadClientConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsReadClientConfiguration
func (*Auth) AwsReadIdentityAccessList ¶
func (a *Auth) AwsReadIdentityAccessList(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsReadIdentityAccessList instanceId: EC2 instance ID. A successful login operation from an EC2 instance gets cached in this accesslist, keyed off of instance ID.
func (*Auth) AwsReadIdentityAccessListTidySettings ¶
func (a *Auth) AwsReadIdentityAccessListTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsReadIdentityAccessListTidySettings
func (*Auth) AwsReadIdentityIntegrationConfiguration ¶
func (a *Auth) AwsReadIdentityIntegrationConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsReadIdentityIntegrationConfiguration
func (*Auth) AwsReadIdentityWhitelist ¶
func (a *Auth) AwsReadIdentityWhitelist(ctx context.Context, instanceId string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsReadIdentityWhitelist instanceId: EC2 instance ID. A successful login operation from an EC2 instance gets cached in this accesslist, keyed off of instance ID.
func (*Auth) AwsReadIdentityWhitelistTidySettings ¶
func (a *Auth) AwsReadIdentityWhitelistTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsReadIdentityWhitelistTidySettings
func (*Auth) AwsReadRoleTagBlacklist ¶
func (a *Auth) AwsReadRoleTagBlacklist(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsReadRoleTagBlacklist 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) AwsReadRoleTagBlacklistTidySettings ¶
func (a *Auth) AwsReadRoleTagBlacklistTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsReadRoleTagBlacklistTidySettings
func (*Auth) AwsReadRoleTagDenyList ¶
func (a *Auth) AwsReadRoleTagDenyList(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsReadRoleTagDenyList 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) AwsReadRoleTagDenyListTidySettings ¶
func (a *Auth) AwsReadRoleTagDenyListTidySettings(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsReadRoleTagDenyListTidySettings
func (*Auth) AwsReadStsRole ¶
func (a *Auth) AwsReadStsRole(ctx context.Context, accountId string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsReadStsRole 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) AwsRotateRootCredentials ¶
func (a *Auth) AwsRotateRootCredentials(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsRotateRootCredentials
func (*Auth) AwsTidyIdentityAccessList ¶
func (a *Auth) AwsTidyIdentityAccessList(ctx context.Context, request schema.AwsTidyIdentityAccessListRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsTidyIdentityAccessList
func (*Auth) AwsTidyIdentityWhitelist ¶
func (a *Auth) AwsTidyIdentityWhitelist(ctx context.Context, request schema.AwsTidyIdentityWhitelistRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsTidyIdentityWhitelist
func (*Auth) AwsTidyRoleTagBlacklist ¶
func (a *Auth) AwsTidyRoleTagBlacklist(ctx context.Context, request schema.AwsTidyRoleTagBlacklistRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsTidyRoleTagBlacklist
func (*Auth) AwsTidyRoleTagDenyList ¶
func (a *Auth) AwsTidyRoleTagDenyList(ctx context.Context, request schema.AwsTidyRoleTagDenyListRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsTidyRoleTagDenyList
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) AwsWriteRoleTag ¶
func (a *Auth) AwsWriteRoleTag(ctx context.Context, role string, request schema.AwsWriteRoleTagRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsWriteRoleTag role: Name of the role.
func (*Auth) AwsWriteRoleTagBlacklist ¶
func (a *Auth) AwsWriteRoleTagBlacklist(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsWriteRoleTagBlacklist 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) AwsWriteRoleTagDenyList ¶
func (a *Auth) AwsWriteRoleTagDenyList(ctx context.Context, roleTag string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsWriteRoleTagDenyList 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) AwsWriteStsRole ¶
func (a *Auth) AwsWriteStsRole(ctx context.Context, accountId string, request schema.AwsWriteStsRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsWriteStsRole 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) AzureConfigureAuth ¶
func (a *Auth) AzureConfigureAuth(ctx context.Context, request schema.AzureConfigureAuthRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureConfigureAuth
func (*Auth) AzureDeleteAuthConfiguration ¶
func (a *Auth) AzureDeleteAuthConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureDeleteAuthConfiguration
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[schema.StandardListResponse], 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) AzureReadAuthConfiguration ¶
func (a *Auth) AzureReadAuthConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureReadAuthConfiguration
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) AzureRotateRootCredentials ¶
func (a *Auth) AzureRotateRootCredentials(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureRotateRootCredentials
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) CentrifyConfigure ¶
func (a *Auth) CentrifyConfigure(ctx context.Context, request schema.CentrifyConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CentrifyConfigure
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) CentrifyReadConfiguration ¶
func (a *Auth) CentrifyReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
CentrifyReadConfiguration
func (*Auth) CertConfigure ¶
func (a *Auth) CertConfigure(ctx context.Context, request schema.CertConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CertConfigure
func (*Auth) CertDeleteCertificate ¶
func (a *Auth) CertDeleteCertificate(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
CertDeleteCertificate Manage trusted certificates used for authentication. name: The name of the certificate
func (*Auth) CertDeleteCrl ¶
func (a *Auth) CertDeleteCrl(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
CertDeleteCrl Manage Certificate Revocation Lists checked during authentication. name: The name of the certificate
func (*Auth) CertListCertificates ¶
func (a *Auth) CertListCertificates(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
CertListCertificates Manage trusted certificates used for authentication.
func (*Auth) CertListCrls ¶
func (a *Auth) CertListCrls(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
CertListCrls
func (*Auth) CertLogin ¶
func (a *Auth) CertLogin(ctx context.Context, request schema.CertLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CertLogin
func (*Auth) CertReadCertificate ¶
func (a *Auth) CertReadCertificate(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
CertReadCertificate Manage trusted certificates used for authentication. name: The name of the certificate
func (*Auth) CertReadConfiguration ¶
func (a *Auth) CertReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
CertReadConfiguration
func (*Auth) CertReadCrl ¶
func (a *Auth) CertReadCrl(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
CertReadCrl Manage Certificate Revocation Lists checked during authentication. name: The name of the certificate
func (*Auth) CertWriteCertificate ¶
func (a *Auth) CertWriteCertificate(ctx context.Context, name string, request schema.CertWriteCertificateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CertWriteCertificate Manage trusted certificates used for authentication. name: The name of the certificate
func (*Auth) CertWriteCrl ¶
func (a *Auth) CertWriteCrl(ctx context.Context, name string, request schema.CertWriteCrlRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CertWriteCrl Manage Certificate Revocation Lists checked during authentication. name: The name of the certificate
func (*Auth) CloudFoundryConfigure ¶
func (a *Auth) CloudFoundryConfigure(ctx context.Context, request schema.CloudFoundryConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CloudFoundryConfigure
func (*Auth) CloudFoundryDeleteConfiguration ¶
func (a *Auth) CloudFoundryDeleteConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
CloudFoundryDeleteConfiguration
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[schema.StandardListResponse], 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) CloudFoundryReadConfiguration ¶
func (a *Auth) CloudFoundryReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
CloudFoundryReadConfiguration
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) 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) GithubConfigure ¶
func (a *Auth) GithubConfigure(ctx context.Context, request schema.GithubConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GithubConfigure
func (*Auth) GithubDeleteTeamMapping ¶
func (a *Auth) GithubDeleteTeamMapping(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GithubDeleteTeamMapping Read/write/delete a single teams mapping key: Key for the teams mapping
func (*Auth) GithubDeleteUserMapping ¶
func (a *Auth) GithubDeleteUserMapping(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GithubDeleteUserMapping Read/write/delete a single users mapping key: Key for the users mapping
func (*Auth) GithubListTeams ¶
func (a *Auth) GithubListTeams(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
GithubListTeams Read mappings for teams
func (*Auth) GithubListUsers ¶
func (a *Auth) GithubListUsers(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
GithubListUsers Read mappings for users
func (*Auth) GithubLogin ¶
func (a *Auth) GithubLogin(ctx context.Context, request schema.GithubLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GithubLogin
func (*Auth) GithubReadConfiguration ¶
func (a *Auth) GithubReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GithubReadConfiguration
func (*Auth) GithubReadTeamMapping ¶
func (a *Auth) GithubReadTeamMapping(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GithubReadTeamMapping Read/write/delete a single teams mapping key: Key for the teams mapping
func (*Auth) GithubReadUserMapping ¶
func (a *Auth) GithubReadUserMapping(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GithubReadUserMapping Read/write/delete a single users mapping key: Key for the users mapping
func (*Auth) GithubWriteTeamMapping ¶
func (a *Auth) GithubWriteTeamMapping(ctx context.Context, key string, request schema.GithubWriteTeamMappingRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GithubWriteTeamMapping Read/write/delete a single teams mapping key: Key for the teams mapping
func (*Auth) GithubWriteUserMapping ¶
func (a *Auth) GithubWriteUserMapping(ctx context.Context, key string, request schema.GithubWriteUserMappingRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GithubWriteUserMapping Read/write/delete a single users mapping key: Key for the users mapping
func (*Auth) GoogleCloudConfigureAuth ¶
func (a *Auth) GoogleCloudConfigureAuth(ctx context.Context, request schema.GoogleCloudConfigureAuthRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudConfigureAuth
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) GoogleCloudEditLabelsForRole ¶
func (a *Auth) GoogleCloudEditLabelsForRole(ctx context.Context, name string, request schema.GoogleCloudEditLabelsForRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudEditLabelsForRole Add or remove labels for an existing 'gce' role name: Name of the role.
func (*Auth) GoogleCloudEditServiceAccountsForRole ¶
func (a *Auth) GoogleCloudEditServiceAccountsForRole(ctx context.Context, name string, request schema.GoogleCloudEditServiceAccountsForRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudEditServiceAccountsForRole Add or remove service accounts for an existing `iam` role name: Name of the role.
func (*Auth) GoogleCloudListRoles ¶
func (a *Auth) GoogleCloudListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
GoogleCloudListRoles 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) GoogleCloudReadAuthConfiguration ¶
func (a *Auth) GoogleCloudReadAuthConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudReadAuthConfiguration
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) 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) JwtConfigure ¶
func (a *Auth) JwtConfigure(ctx context.Context, request schema.JwtConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
JwtConfigure 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) 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[schema.StandardListResponse], 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) JwtOidcCallback ¶
func (a *Auth) JwtOidcCallback(ctx context.Context, clientNonce string, code string, state string, options ...RequestOption) (*Response[map[string]interface{}], error)
JwtOidcCallback Callback endpoint to complete an OIDC login.
func (*Auth) JwtOidcCallbackFormPost ¶
func (a *Auth) JwtOidcCallbackFormPost(ctx context.Context, request schema.JwtOidcCallbackFormPostRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
JwtOidcCallbackFormPost Callback endpoint to handle form_posts.
func (*Auth) JwtOidcRequestAuthorizationUrl ¶
func (a *Auth) JwtOidcRequestAuthorizationUrl(ctx context.Context, request schema.JwtOidcRequestAuthorizationUrlRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
JwtOidcRequestAuthorizationUrl Request an authorization URL to start an OIDC login flow.
func (*Auth) JwtReadConfiguration ¶
func (a *Auth) JwtReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
JwtReadConfiguration Read the current JWT authentication backend configuration.
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) 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) KerberosConfigure ¶
func (a *Auth) KerberosConfigure(ctx context.Context, request schema.KerberosConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KerberosConfigure
func (*Auth) KerberosConfigureLdap ¶
func (a *Auth) KerberosConfigureLdap(ctx context.Context, request schema.KerberosConfigureLdapRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KerberosConfigureLdap
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[schema.StandardListResponse], 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) KerberosReadConfiguration ¶
func (a *Auth) KerberosReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KerberosReadConfiguration
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) KerberosReadLdapConfiguration ¶
func (a *Auth) KerberosReadLdapConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KerberosReadLdapConfiguration
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) KubernetesConfigureAuth ¶
func (a *Auth) KubernetesConfigureAuth(ctx context.Context, request schema.KubernetesConfigureAuthRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesConfigureAuth
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[schema.StandardListResponse], 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) KubernetesReadAuthConfiguration ¶
func (a *Auth) KubernetesReadAuthConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesReadAuthConfiguration
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) 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) LdapConfigureAuth ¶
func (a *Auth) LdapConfigureAuth(ctx context.Context, request schema.LdapConfigureAuthRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapConfigureAuth
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[schema.StandardListResponse], error)
LdapListGroups Manage additional groups for users allowed to authenticate.
func (*Auth) LdapListUsers ¶
func (a *Auth) LdapListUsers(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], 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) LdapReadAuthConfiguration ¶
func (a *Auth) LdapReadAuthConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapReadAuthConfiguration
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) 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) OciConfigure ¶
func (a *Auth) OciConfigure(ctx context.Context, request schema.OciConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OciConfigure
func (*Auth) OciDeleteConfiguration ¶
func (a *Auth) OciDeleteConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OciDeleteConfiguration
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[schema.StandardListResponse], error)
OciListRoles Lists all the roles that are registered with Vault.
func (*Auth) OciLogin ¶
func (a *Auth) OciLogin(ctx context.Context, role string, request schema.OciLoginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OciLogin Authenticates to Vault using OCI credentials role: Name of the role.
func (*Auth) OciReadConfiguration ¶
func (a *Auth) OciReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OciReadConfiguration
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) 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) OktaConfigure ¶
func (a *Auth) OktaConfigure(ctx context.Context, request schema.OktaConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OktaConfigure
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[schema.StandardListResponse], error)
OktaListGroups Manage users allowed to authenticate.
func (*Auth) OktaListUsers ¶
func (a *Auth) OktaListUsers(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], 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) OktaReadConfiguration ¶
func (a *Auth) OktaReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OktaReadConfiguration
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) 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) RadiusConfigure ¶
func (a *Auth) RadiusConfigure(ctx context.Context, request schema.RadiusConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RadiusConfigure
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[schema.StandardListResponse], 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) RadiusReadConfiguration ¶
func (a *Auth) RadiusReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
RadiusReadConfiguration
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) 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) TokenCreate ¶
func (a *Auth) TokenCreate(ctx context.Context, request schema.TokenCreateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenCreate The token create path is used to create new tokens.
func (*Auth) TokenCreateAgainstRole ¶
func (a *Auth) TokenCreateAgainstRole(ctx context.Context, roleName string, request schema.TokenCreateAgainstRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenCreateAgainstRole This token create path is used to create new tokens adhering to the given role. roleName: Name of the role
func (*Auth) TokenCreateOrphan ¶
func (a *Auth) TokenCreateOrphan(ctx context.Context, request schema.TokenCreateOrphanRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenCreateOrphan The token create path is used to create new orphan tokens.
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[schema.StandardListResponse], 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[schema.StandardListResponse], error)
TokenListRoles This endpoint lists configured roles.
func (*Auth) TokenLookUp ¶
func (a *Auth) TokenLookUp(ctx context.Context, request schema.TokenLookUpRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenLookUp
func (*Auth) TokenLookUpAccessor ¶
func (a *Auth) TokenLookUpAccessor(ctx context.Context, request schema.TokenLookUpAccessorRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenLookUpAccessor This endpoint will lookup a token associated with the given accessor and its properties. Response will not contain the token ID.
func (*Auth) TokenLookUpSelf ¶
func (a *Auth) TokenLookUpSelf(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TokenLookUpSelf
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) 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[schema.StandardListResponse], 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) UserpassResetPassword ¶
func (a *Auth) UserpassResetPassword(ctx context.Context, username string, request schema.UserpassResetPasswordRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
UserpassResetPassword Reset user's password. username: Username for this user.
func (*Auth) UserpassUpdatePolicies ¶
func (a *Auth) UserpassUpdatePolicies(ctx context.Context, username string, request schema.UserpassUpdatePoliciesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
UserpassUpdatePolicies Update the policies associated with the username. 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.
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 delete the value stored at the given Vault path.
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 value 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 with `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) 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 // 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 ¶
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 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_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 ¶
func WithHTTPClient(client *http.Client) ClientOption
WithHTTPClient sets the HTTP client to use for all API requests. The library 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 DefaultConfiguration().HTTPClient 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(retry RetryConfiguration) ClientOption
WithRetryConfiguration configures the internal go-retryablehttp client. The library sets reasonable defaults for this setting.
func WithTLS ¶
func WithTLS(tls 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) AliasCreate ¶
func (i *Identity) AliasCreate(ctx context.Context, request schema.AliasCreateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AliasCreate Create a new alias.
func (*Identity) AliasDeleteById ¶
func (i *Identity) AliasDeleteById(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
AliasDeleteById id: ID of the alias
func (*Identity) AliasListById ¶
func (i *Identity) AliasListById(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], 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 id: ID of the alias
func (*Identity) AliasUpdateById ¶
func (i *Identity) AliasUpdateById(ctx context.Context, id string, request schema.AliasUpdateByIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AliasUpdateById 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) EntityCreate ¶
func (i *Identity) EntityCreate(ctx context.Context, request schema.EntityCreateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityCreate Create a new entity
func (*Identity) EntityCreateAlias ¶
func (i *Identity) EntityCreateAlias(ctx context.Context, request schema.EntityCreateAliasRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityCreateAlias Create a new alias.
func (*Identity) EntityDeleteAliasById ¶
func (i *Identity) EntityDeleteAliasById(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityDeleteAliasById 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 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 name: Name of the entity
func (*Identity) EntityListAliasesById ¶
func (i *Identity) EntityListAliasesById(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
EntityListAliasesById List all the alias IDs.
func (*Identity) EntityListById ¶
func (i *Identity) EntityListById(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
EntityListById List all the entity IDs
func (*Identity) EntityListByName ¶
func (i *Identity) EntityListByName(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], 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 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 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 name: Name of the entity
func (*Identity) EntityUpdateAliasById ¶
func (i *Identity) EntityUpdateAliasById(ctx context.Context, id string, request schema.EntityUpdateAliasByIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityUpdateAliasById id: ID of the alias
func (*Identity) EntityUpdateById ¶
func (i *Identity) EntityUpdateById(ctx context.Context, id string, request schema.EntityUpdateByIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityUpdateById id: ID of the entity. If set, updates the corresponding existing entity.
func (*Identity) EntityUpdateByName ¶
func (i *Identity) EntityUpdateByName(ctx context.Context, name string, request schema.EntityUpdateByNameRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
EntityUpdateByName name: Name of the entity
func (*Identity) GroupCreate ¶
func (i *Identity) GroupCreate(ctx context.Context, request schema.GroupCreateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupCreate
func (*Identity) GroupCreateAlias ¶
func (i *Identity) GroupCreateAlias(ctx context.Context, request schema.GroupCreateAliasRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupCreateAlias Creates a new group alias, or updates an existing one.
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 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[schema.StandardListResponse], error)
GroupListAliasesById List all the group alias IDs.
func (*Identity) GroupListById ¶
func (i *Identity) GroupListById(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
GroupListById List all the group IDs.
func (*Identity) GroupListByName ¶
func (i *Identity) GroupListByName(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], 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 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) GroupUpdateAliasById ¶
func (i *Identity) GroupUpdateAliasById(ctx context.Context, id string, request schema.GroupUpdateAliasByIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupUpdateAliasById id: ID of the group alias.
func (*Identity) GroupUpdateById ¶
func (i *Identity) GroupUpdateById(ctx context.Context, id string, request schema.GroupUpdateByIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupUpdateById id: ID of the group. If set, updates the corresponding existing group.
func (*Identity) GroupUpdateByName ¶
func (i *Identity) GroupUpdateByName(ctx context.Context, name string, request schema.GroupUpdateByNameRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GroupUpdateByName name: Name of the group.
func (*Identity) MfaAdminDestroyTotpSecret ¶
func (i *Identity) MfaAdminDestroyTotpSecret(ctx context.Context, request schema.MfaAdminDestroyTotpSecretRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaAdminDestroyTotpSecret Destroys a TOTP secret for the given MFA method ID on the given entity
func (*Identity) MfaAdminGenerateTotpSecret ¶
func (i *Identity) MfaAdminGenerateTotpSecret(ctx context.Context, request schema.MfaAdminGenerateTotpSecretRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaAdminGenerateTotpSecret Update or create TOTP secret for the given method ID on the given entity.
func (*Identity) MfaCreateDuoMethod ¶
func (i *Identity) MfaCreateDuoMethod(ctx context.Context, request schema.MfaCreateDuoMethodRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaCreateDuoMethod Create the given MFA method
func (*Identity) MfaCreateOktaMethod ¶
func (i *Identity) MfaCreateOktaMethod(ctx context.Context, request schema.MfaCreateOktaMethodRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaCreateOktaMethod Create the given MFA method
func (*Identity) MfaCreatePingIdMethod ¶
func (i *Identity) MfaCreatePingIdMethod(ctx context.Context, request schema.MfaCreatePingIdMethodRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaCreatePingIdMethod Create the given MFA method
func (*Identity) MfaCreateTotpMethod ¶
func (i *Identity) MfaCreateTotpMethod(ctx context.Context, request schema.MfaCreateTotpMethodRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaCreateTotpMethod Create the given MFA method
func (*Identity) MfaDeleteDuoMethod ¶
func (i *Identity) MfaDeleteDuoMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaDeleteDuoMethod Delete the given MFA method methodId: The unique identifier for this MFA method.
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) MfaDeleteOktaMethod ¶
func (i *Identity) MfaDeleteOktaMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaDeleteOktaMethod Delete the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MfaDeletePingIdMethod ¶
func (i *Identity) MfaDeletePingIdMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaDeletePingIdMethod Delete the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MfaDeleteTotpMethod ¶
func (i *Identity) MfaDeleteTotpMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaDeleteTotpMethod Delete the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MfaGenerateTotpSecret ¶
func (i *Identity) MfaGenerateTotpSecret(ctx context.Context, request schema.MfaGenerateTotpSecretRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaGenerateTotpSecret Update or create TOTP secret for the given method ID on the given entity.
func (*Identity) MfaListDuoMethods ¶
func (i *Identity) MfaListDuoMethods(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
MfaListDuoMethods List MFA method configurations for the given MFA method
func (*Identity) MfaListLoginEnforcements ¶
func (i *Identity) MfaListLoginEnforcements(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
MfaListLoginEnforcements List login enforcements
func (*Identity) MfaListMethods ¶
func (i *Identity) MfaListMethods(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
MfaListMethods List MFA method configurations for all MFA methods
func (*Identity) MfaListOktaMethods ¶
func (i *Identity) MfaListOktaMethods(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
MfaListOktaMethods List MFA method configurations for the given MFA method
func (*Identity) MfaListPingIdMethods ¶
func (i *Identity) MfaListPingIdMethods(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
MfaListPingIdMethods List MFA method configurations for the given MFA method
func (*Identity) MfaListTotpMethods ¶
func (i *Identity) MfaListTotpMethods(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
MfaListTotpMethods List MFA method configurations for the given MFA method
func (*Identity) MfaReadDuoMethod ¶
func (i *Identity) MfaReadDuoMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaReadDuoMethod Read the current 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) MfaReadMethod ¶
func (i *Identity) MfaReadMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaReadMethod Read the current configuration for the given ID regardless of the MFA method type methodId: The unique identifier for this MFA method.
func (*Identity) MfaReadOktaMethod ¶
func (i *Identity) MfaReadOktaMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaReadOktaMethod Read the current configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MfaReadPingIdMethod ¶
func (i *Identity) MfaReadPingIdMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaReadPingIdMethod Read the current configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MfaReadTotpMethod ¶
func (i *Identity) MfaReadTotpMethod(ctx context.Context, methodId string, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaReadTotpMethod Read the current configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MfaUpdateDuoMethod ¶
func (i *Identity) MfaUpdateDuoMethod(ctx context.Context, methodId string, request schema.MfaUpdateDuoMethodRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaUpdateDuoMethod Update the configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MfaUpdateOktaMethod ¶
func (i *Identity) MfaUpdateOktaMethod(ctx context.Context, methodId string, request schema.MfaUpdateOktaMethodRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaUpdateOktaMethod Update the configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MfaUpdatePingIdMethod ¶
func (i *Identity) MfaUpdatePingIdMethod(ctx context.Context, methodId string, request schema.MfaUpdatePingIdMethodRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaUpdatePingIdMethod Update the configuration for the given MFA method methodId: The unique identifier for this MFA method.
func (*Identity) MfaUpdateTotpMethod ¶
func (i *Identity) MfaUpdateTotpMethod(ctx context.Context, methodId string, request schema.MfaUpdateTotpMethodRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MfaUpdateTotpMethod Update the configuration for the given MFA method methodId: The unique identifier for this MFA method.
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) OidcConfigure ¶
func (i *Identity) OidcConfigure(ctx context.Context, request schema.OidcConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OidcConfigure
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) OidcGenerateToken ¶
func (i *Identity) OidcGenerateToken(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OidcGenerateToken Generate an OIDC token name: Name of the role
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[schema.StandardListResponse], error)
OidcListAssignments
func (*Identity) OidcListClients ¶
func (i *Identity) OidcListClients(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
OidcListClients
func (*Identity) OidcListKeys ¶
func (i *Identity) OidcListKeys(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
OidcListKeys List OIDC keys
func (*Identity) OidcListProviders ¶
func (i *Identity) OidcListProviders(ctx context.Context, allowedClientId string, options ...RequestOption) (*Response[schema.StandardListResponse], 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[schema.StandardListResponse], error)
OidcListRoles List configured OIDC roles
func (*Identity) OidcListScopes ¶
func (i *Identity) OidcListScopes(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
OidcListScopes
func (*Identity) OidcProviderAuthorize ¶
func (i *Identity) OidcProviderAuthorize(ctx context.Context, name string, clientId string, codeChallenge string, codeChallengeMethod string, maxAge int32, nonce string, redirectUri string, responseType string, scope string, state string, options ...RequestOption) (*Response[map[string]interface{}], error)
OidcProviderAuthorize name: Name of the provider clientId: The ID of the requesting client. codeChallenge: The code challenge derived from the code verifier. codeChallengeMethod: The method that was used to derive the code challenge. The following methods are supported: 'S256', 'plain'. Defaults to 'plain'. maxAge: The allowable elapsed time in seconds since the last time the end-user was actively authenticated. nonce: The value that will be returned in the ID token nonce claim after a token exchange. redirectUri: The redirection URI to which the response will be sent. responseType: The OIDC authentication flow to be used. The following response types are supported: 'code' scope: A space-delimited, case-sensitive list of scopes to be requested. The 'openid' scope is required. state: The value used to maintain state between the authentication request and client.
func (*Identity) OidcProviderAuthorizeWithParameters ¶
func (i *Identity) OidcProviderAuthorizeWithParameters(ctx context.Context, name string, request schema.OidcProviderAuthorizeWithParametersRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OidcProviderAuthorizeWithParameters name: Name of the provider
func (*Identity) OidcProviderToken ¶
func (i *Identity) OidcProviderToken(ctx context.Context, name string, request schema.OidcProviderTokenRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
OidcProviderToken name: Name of the provider
func (*Identity) OidcProviderUserInfo ¶
func (i *Identity) OidcProviderUserInfo(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OidcProviderUserInfo name: Name of the provider
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) OidcReadConfiguration ¶
func (i *Identity) OidcReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OidcReadConfiguration
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) OidcReadOpenIdConfiguration ¶
func (i *Identity) OidcReadOpenIdConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OidcReadOpenIdConfiguration Query OIDC configurations
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) OidcReadProviderOpenIdConfiguration ¶
func (i *Identity) OidcReadProviderOpenIdConfiguration(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OidcReadProviderOpenIdConfiguration name: Name of the provider
func (*Identity) OidcReadProviderPublicKeys ¶
func (i *Identity) OidcReadProviderPublicKeys(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
OidcReadProviderPublicKeys name: Name of the provider
func (*Identity) OidcReadPublicKeys ¶
func (i *Identity) OidcReadPublicKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
OidcReadPublicKeys Retrieve public keys
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) 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) 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) 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) PersonaCreate ¶
func (i *Identity) PersonaCreate(ctx context.Context, request schema.PersonaCreateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PersonaCreate Create a new alias.
func (*Identity) PersonaDeleteById ¶
func (i *Identity) PersonaDeleteById(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
PersonaDeleteById id: ID of the persona
func (*Identity) PersonaListById ¶
func (i *Identity) PersonaListById(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
PersonaListById List all the alias IDs.
func (*Identity) PersonaReadById ¶
func (i *Identity) PersonaReadById(ctx context.Context, id string, options ...RequestOption) (*Response[map[string]interface{}], error)
PersonaReadById id: ID of the persona
func (*Identity) PersonaUpdateById ¶
func (i *Identity) PersonaUpdateById(ctx context.Context, id string, request schema.PersonaUpdateByIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PersonaUpdateById id: ID of the persona
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 will be appended to any custom headers set at the client level. 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 WithQueryParameters ¶
func WithQueryParameters(parameters url.Values) RequestOption
WithQueryParameters appends the given list of query parameters to the request. This is primarily intended to be used with client.Read, client.ReadRaw, client.List, and client.Delete methods.
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 callbacks will be appended to the list of the callbacks set at the client-level.
func WithResponseCallbacks ¶
func WithResponseCallbacks(callbacks ...ResponseCallback) RequestOption
WithResponseCallbacks sets callbacks which will be invoked after a successful response within the next request; these callbacks will be appended to the list of the callbacks set at the client-level.
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"` // RetryWaitMax 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) AliCloudConfigure ¶
func (s *Secrets) AliCloudConfigure(ctx context.Context, request schema.AliCloudConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudConfigure
func (*Secrets) AliCloudDeleteConfiguration ¶
func (s *Secrets) AliCloudDeleteConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudDeleteConfiguration
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) AliCloudGenerateCredentials ¶
func (s *Secrets) AliCloudGenerateCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudGenerateCredentials Generate an API key or STS credential using the given role's configuration.' name: The name of the role.
func (*Secrets) AliCloudListRoles ¶
func (s *Secrets) AliCloudListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
AliCloudListRoles List the existing roles in this backend.
func (*Secrets) AliCloudReadConfiguration ¶
func (s *Secrets) AliCloudReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AliCloudReadConfiguration
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) 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) AwsConfigureLease ¶
func (s *Secrets) AwsConfigureLease(ctx context.Context, request schema.AwsConfigureLeaseRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsConfigureLease
func (*Secrets) AwsConfigureRootIamCredentials ¶
func (s *Secrets) AwsConfigureRootIamCredentials(ctx context.Context, request schema.AwsConfigureRootIamCredentialsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsConfigureRootIamCredentials
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 role
func (*Secrets) AwsDeleteStaticRolesName ¶
func (s *Secrets) AwsDeleteStaticRolesName(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsDeleteStaticRolesName name: The name of this role.
func (*Secrets) AwsGenerateCredentials ¶
func (s *Secrets) AwsGenerateCredentials(ctx context.Context, name string, roleArn string, roleSessionName string, ttl string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsGenerateCredentials name: Name of the role roleArn: ARN of role to assume when credential_type is assumed_role roleSessionName: Session name to use when assuming role. Max chars: 64 ttl: Lifetime of the returned credentials in seconds
func (*Secrets) AwsGenerateCredentialsWithParameters ¶
func (s *Secrets) AwsGenerateCredentialsWithParameters(ctx context.Context, name string, request schema.AwsGenerateCredentialsWithParametersRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsGenerateCredentialsWithParameters name: Name of the role
func (*Secrets) AwsGenerateStsCredentials ¶
func (s *Secrets) AwsGenerateStsCredentials(ctx context.Context, name string, roleArn string, roleSessionName string, ttl string, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsGenerateStsCredentials name: Name of the role roleArn: ARN of role to assume when credential_type is assumed_role roleSessionName: Session name to use when assuming role. Max chars: 64 ttl: Lifetime of the returned credentials in seconds
func (*Secrets) AwsGenerateStsCredentialsWithParameters ¶
func (s *Secrets) AwsGenerateStsCredentialsWithParameters(ctx context.Context, name string, request schema.AwsGenerateStsCredentialsWithParametersRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsGenerateStsCredentialsWithParameters name: Name of the role
func (*Secrets) AwsListRoles ¶
func (s *Secrets) AwsListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
AwsListRoles List the existing roles in this backend
func (*Secrets) AwsReadLeaseConfiguration ¶
func (s *Secrets) AwsReadLeaseConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsReadLeaseConfiguration
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 role
func (*Secrets) AwsReadRootIamCredentialsConfiguration ¶
func (s *Secrets) AwsReadRootIamCredentialsConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsReadRootIamCredentialsConfiguration
func (*Secrets) AwsReadStaticCredsName ¶
func (s *Secrets) AwsReadStaticCredsName(ctx context.Context, name string, options ...RequestOption) (*Response[schema.AwsReadStaticCredsNameResponse], error)
AwsReadStaticCredsName name: The name of this role.
func (*Secrets) AwsReadStaticRolesName ¶
func (s *Secrets) AwsReadStaticRolesName(ctx context.Context, name string, options ...RequestOption) (*Response[schema.AwsReadStaticRolesNameResponse], error)
AwsReadStaticRolesName name: The name of this role.
func (*Secrets) AwsRotateRootIamCredentials ¶
func (s *Secrets) AwsRotateRootIamCredentials(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AwsRotateRootIamCredentials
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 role
func (*Secrets) AwsWriteStaticRolesName ¶
func (s *Secrets) AwsWriteStaticRolesName(ctx context.Context, name string, request schema.AwsWriteStaticRolesNameRequest, options ...RequestOption) (*Response[schema.AwsWriteStaticRolesNameResponse], error)
AwsWriteStaticRolesName name: The name of this role.
func (*Secrets) AzureConfigure ¶
func (s *Secrets) AzureConfigure(ctx context.Context, request schema.AzureConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureConfigure
func (*Secrets) AzureDeleteConfiguration ¶
func (s *Secrets) AzureDeleteConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureDeleteConfiguration
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[schema.StandardListResponse], error)
AzureListRoles List existing roles.
func (*Secrets) AzureReadConfiguration ¶
func (s *Secrets) AzureReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureReadConfiguration
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) AzureRequestServicePrincipalCredentials ¶
func (s *Secrets) AzureRequestServicePrincipalCredentials(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureRequestServicePrincipalCredentials role: Name of the Vault role
func (*Secrets) AzureRotateRoot ¶
func (s *Secrets) AzureRotateRoot(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AzureRotateRoot
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) ConsulConfigureAccess ¶
func (s *Secrets) ConsulConfigureAccess(ctx context.Context, request schema.ConsulConfigureAccessRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
ConsulConfigureAccess
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) ConsulGenerateCredentials ¶
func (s *Secrets) ConsulGenerateCredentials(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
ConsulGenerateCredentials role: Name of the role.
func (*Secrets) ConsulListRoles ¶
func (s *Secrets) ConsulListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
ConsulListRoles
func (*Secrets) ConsulReadAccessConfiguration ¶
func (s *Secrets) ConsulReadAccessConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ConsulReadAccessConfiguration
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) 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) CubbyholeList ¶
func (s *Secrets) CubbyholeList(ctx context.Context, path string, options ...RequestOption) (*Response[schema.StandardListResponse], error)
CubbyholeList List secret entries at the specified location. Folders are suffixed with /. The input must be a folder; list on a file will not return a value. The values themselves are not accessible via this command. 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, request map[string]interface{}, options ...RequestOption) (*Response[map[string]interface{}], error)
CubbyholeWrite Store a secret at the specified location. path: Specifies the path of the secret.
func (*Secrets) DatabaseConfigureConnection ¶
func (s *Secrets) DatabaseConfigureConnection(ctx context.Context, name string, request schema.DatabaseConfigureConnectionRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseConfigureConnection name: Name of this database connection
func (*Secrets) DatabaseDeleteConnectionConfiguration ¶
func (s *Secrets) DatabaseDeleteConnectionConfiguration(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseDeleteConnectionConfiguration 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) DatabaseGenerateCredentials ¶
func (s *Secrets) DatabaseGenerateCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseGenerateCredentials Request database credentials for a certain role. name: Name of the role.
func (*Secrets) DatabaseListConnections ¶
func (s *Secrets) DatabaseListConnections(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
DatabaseListConnections Configure connection details to a database plugin.
func (*Secrets) DatabaseListRoles ¶
func (s *Secrets) DatabaseListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], 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[schema.StandardListResponse], error)
DatabaseListStaticRoles Manage the static roles that can be created with this backend.
func (*Secrets) DatabaseReadConnectionConfiguration ¶
func (s *Secrets) DatabaseReadConnectionConfiguration(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseReadConnectionConfiguration name: Name of this database connection
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) 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) DatabaseReadStaticRoleCredentials ¶
func (s *Secrets) DatabaseReadStaticRoleCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseReadStaticRoleCredentials Request database credentials for a certain static role. These credentials are rotated periodically. name: Name of the static role.
func (*Secrets) DatabaseResetConnection ¶
func (s *Secrets) DatabaseResetConnection(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseResetConnection Resets a database plugin. name: Name of this database connection
func (*Secrets) DatabaseRotateRootCredentials ¶
func (s *Secrets) DatabaseRotateRootCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseRotateRootCredentials name: Name of this database connection
func (*Secrets) DatabaseRotateStaticRoleCredentials ¶
func (s *Secrets) DatabaseRotateStaticRoleCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
DatabaseRotateStaticRoleCredentials name: Name of the static role
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) GoogleCloudConfigure ¶
func (s *Secrets) GoogleCloudConfigure(ctx context.Context, request schema.GoogleCloudConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudConfigure
func (*Secrets) GoogleCloudDeleteImpersonatedAccount ¶
func (s *Secrets) GoogleCloudDeleteImpersonatedAccount(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudDeleteImpersonatedAccount name: Required. Name to refer to this impersonated account in Vault. Cannot be updated.
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) GoogleCloudGenerateImpersonatedAccountAccessToken ¶
func (s *Secrets) GoogleCloudGenerateImpersonatedAccountAccessToken(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudGenerateImpersonatedAccountAccessToken name: Required. Name of the impersonated account.
func (*Secrets) GoogleCloudGenerateRolesetAccessToken ¶
func (s *Secrets) GoogleCloudGenerateRolesetAccessToken(ctx context.Context, roleset string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudGenerateRolesetAccessToken roleset: Required. Name of the role set.
func (*Secrets) GoogleCloudGenerateRolesetKey ¶
func (s *Secrets) GoogleCloudGenerateRolesetKey(ctx context.Context, roleset string, request schema.GoogleCloudGenerateRolesetKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudGenerateRolesetKey roleset: Required. Name of the role set.
func (*Secrets) GoogleCloudGenerateStaticAccountAccessToken ¶
func (s *Secrets) GoogleCloudGenerateStaticAccountAccessToken(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudGenerateStaticAccountAccessToken name: Required. Name of the static account.
func (*Secrets) GoogleCloudGenerateStaticAccountKey ¶
func (s *Secrets) GoogleCloudGenerateStaticAccountKey(ctx context.Context, name string, request schema.GoogleCloudGenerateStaticAccountKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudGenerateStaticAccountKey name: Required. Name of the static account.
func (*Secrets) GoogleCloudKmsConfigure ¶
func (s *Secrets) GoogleCloudKmsConfigure(ctx context.Context, request schema.GoogleCloudKmsConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKmsConfigure
func (*Secrets) GoogleCloudKmsConfigureKey ¶
func (s *Secrets) GoogleCloudKmsConfigureKey(ctx context.Context, key string, request schema.GoogleCloudKmsConfigureKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKmsConfigureKey key: Name of the key in Vault.
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) GoogleCloudKmsDeleteConfiguration ¶
func (s *Secrets) GoogleCloudKmsDeleteConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKmsDeleteConfiguration
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 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[schema.StandardListResponse], error)
GoogleCloudKmsListKeys List named keys
func (*Secrets) GoogleCloudKmsReadConfiguration ¶
func (s *Secrets) GoogleCloudKmsReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKmsReadConfiguration
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) GoogleCloudKmsReadKeyConfiguration ¶
func (s *Secrets) GoogleCloudKmsReadKeyConfiguration(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKmsReadKeyConfiguration key: Name of the key in Vault.
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) GoogleCloudKmsRetrievePublicKey ¶
func (s *Secrets) GoogleCloudKmsRetrievePublicKey(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKmsRetrievePublicKey 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) 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) GoogleCloudKmsTrimKeyVersions ¶
func (s *Secrets) GoogleCloudKmsTrimKeyVersions(ctx context.Context, key string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudKmsTrimKeyVersions 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) 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) GoogleCloudListImpersonatedAccounts ¶
func (s *Secrets) GoogleCloudListImpersonatedAccounts(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
GoogleCloudListImpersonatedAccounts
func (*Secrets) GoogleCloudListRolesets ¶
func (s *Secrets) GoogleCloudListRolesets(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
GoogleCloudListRolesets
func (*Secrets) GoogleCloudListStaticAccounts ¶
func (s *Secrets) GoogleCloudListStaticAccounts(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
GoogleCloudListStaticAccounts
func (*Secrets) GoogleCloudReadConfiguration ¶
func (s *Secrets) GoogleCloudReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudReadConfiguration
func (*Secrets) GoogleCloudReadImpersonatedAccount ¶
func (s *Secrets) GoogleCloudReadImpersonatedAccount(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudReadImpersonatedAccount name: Required. Name to refer to this impersonated account in Vault. Cannot be updated.
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) 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) 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) GoogleCloudRotateRootCredentials ¶
func (s *Secrets) GoogleCloudRotateRootCredentials(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudRotateRootCredentials
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) GoogleCloudWriteImpersonatedAccount ¶
func (s *Secrets) GoogleCloudWriteImpersonatedAccount(ctx context.Context, name string, request schema.GoogleCloudWriteImpersonatedAccountRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
GoogleCloudWriteImpersonatedAccount name: Required. Name to refer to this impersonated account in Vault. Cannot be updated.
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) 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) KubernetesCheckConfiguration ¶
func (s *Secrets) KubernetesCheckConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesCheckConfiguration
func (*Secrets) KubernetesConfigure ¶
func (s *Secrets) KubernetesConfigure(ctx context.Context, request schema.KubernetesConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesConfigure
func (*Secrets) KubernetesDeleteConfiguration ¶
func (s *Secrets) KubernetesDeleteConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesDeleteConfiguration
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) KubernetesGenerateCredentials ¶
func (s *Secrets) KubernetesGenerateCredentials(ctx context.Context, name string, request schema.KubernetesGenerateCredentialsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesGenerateCredentials name: Name of the Vault role
func (*Secrets) KubernetesListRoles ¶
func (s *Secrets) KubernetesListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
KubernetesListRoles
func (*Secrets) KubernetesReadConfiguration ¶
func (s *Secrets) KubernetesReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
KubernetesReadConfiguration
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) 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) KvV1Delete ¶
func (s *Secrets) KvV1Delete(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
KvV1Delete path: Location of the secret.
func (*Secrets) KvV1List ¶
func (s *Secrets) KvV1List(ctx context.Context, path string, options ...RequestOption) (*Response[schema.StandardListResponse], error)
KvV1List 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 path: Location of the secret.
func (*Secrets) KvV1Write ¶
func (s *Secrets) KvV1Write(ctx context.Context, path string, request map[string]interface{}, options ...RequestOption) (*Response[map[string]interface{}], error)
KvV1Write path: Location of the secret.
func (*Secrets) KvV2Configure ¶
func (s *Secrets) KvV2Configure(ctx context.Context, request schema.KvV2ConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KvV2Configure Configure backend level settings that are applied to every key in the key-value store.
func (*Secrets) KvV2Delete ¶
func (s *Secrets) KvV2Delete(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
KvV2Delete path: Location of the secret.
func (*Secrets) KvV2DeleteMetadataAndAllVersions ¶
func (s *Secrets) KvV2DeleteMetadataAndAllVersions(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
KvV2DeleteMetadataAndAllVersions 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 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 path: Location of the secret.
func (*Secrets) KvV2List ¶
func (s *Secrets) KvV2List(ctx context.Context, path string, options ...RequestOption) (*Response[schema.StandardListResponse], error)
KvV2List path: Location of the secret.
func (*Secrets) KvV2Read ¶
func (s *Secrets) KvV2Read(ctx context.Context, path string, options ...RequestOption) (*Response[schema.KvV2ReadResponse], error)
KvV2Read path: Location of the secret.
func (*Secrets) KvV2ReadConfiguration ¶
func (s *Secrets) KvV2ReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.KvV2ReadConfigurationResponse], error)
KvV2ReadConfiguration Read the backend level settings.
func (*Secrets) KvV2ReadMetadata ¶
func (s *Secrets) KvV2ReadMetadata(ctx context.Context, path string, options ...RequestOption) (*Response[schema.KvV2ReadMetadataResponse], error)
KvV2ReadMetadata path: Location of the secret.
func (*Secrets) KvV2ReadSubkeys ¶
func (s *Secrets) KvV2ReadSubkeys(ctx context.Context, path string, options ...RequestOption) (*Response[schema.KvV2ReadSubkeysResponse], error)
KvV2ReadSubkeys 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 path: Location of the secret.
func (*Secrets) KvV2Write ¶
func (s *Secrets) KvV2Write(ctx context.Context, path string, request schema.KvV2WriteRequest, options ...RequestOption) (*Response[schema.KvV2WriteResponse], error)
KvV2Write path: Location of the secret.
func (*Secrets) KvV2WriteMetadata ¶
func (s *Secrets) KvV2WriteMetadata(ctx context.Context, path string, request schema.KvV2WriteMetadataRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
KvV2WriteMetadata path: Location of the secret.
func (*Secrets) LdapConfigure ¶
func (s *Secrets) LdapConfigure(ctx context.Context, request schema.LdapConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapConfigure
func (*Secrets) LdapDeleteConfiguration ¶
func (s *Secrets) LdapDeleteConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapDeleteConfiguration
func (*Secrets) LdapDeleteDynamicRole ¶
func (s *Secrets) LdapDeleteDynamicRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapDeleteDynamicRole 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) LdapLibraryCheckIn ¶
func (s *Secrets) LdapLibraryCheckIn(ctx context.Context, name string, request schema.LdapLibraryCheckInRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapLibraryCheckIn Check service accounts in to the library. name: Name of the set.
func (*Secrets) LdapLibraryCheckOut ¶
func (s *Secrets) LdapLibraryCheckOut(ctx context.Context, name string, request schema.LdapLibraryCheckOutRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapLibraryCheckOut Check a service account out from the library. name: Name of the set
func (*Secrets) LdapLibraryCheckStatus ¶
func (s *Secrets) LdapLibraryCheckStatus(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapLibraryCheckStatus Check the status of the service accounts in a library set. name: Name of the set.
func (*Secrets) LdapLibraryConfigure ¶
func (s *Secrets) LdapLibraryConfigure(ctx context.Context, name string, request schema.LdapLibraryConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapLibraryConfigure Update a library set. name: Name of the set.
func (*Secrets) LdapLibraryDelete ¶
func (s *Secrets) LdapLibraryDelete(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapLibraryDelete Delete a library set. name: Name of the set.
func (*Secrets) LdapLibraryForceCheckIn ¶
func (s *Secrets) LdapLibraryForceCheckIn(ctx context.Context, name string, request schema.LdapLibraryForceCheckInRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapLibraryForceCheckIn Check service accounts in to the library. name: Name of the set.
func (*Secrets) LdapLibraryList ¶
func (s *Secrets) LdapLibraryList(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
LdapLibraryList
func (*Secrets) LdapLibraryRead ¶
func (s *Secrets) LdapLibraryRead(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapLibraryRead Read a library set. name: Name of the set.
func (*Secrets) LdapListDynamicRoles ¶
func (s *Secrets) LdapListDynamicRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
LdapListDynamicRoles
func (*Secrets) LdapListStaticRoles ¶
func (s *Secrets) LdapListStaticRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
LdapListStaticRoles
func (*Secrets) LdapReadConfiguration ¶
func (s *Secrets) LdapReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapReadConfiguration
func (*Secrets) LdapReadDynamicRole ¶
func (s *Secrets) LdapReadDynamicRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapReadDynamicRole name: Name of the role (lowercase)
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) LdapRequestDynamicRoleCredentials ¶
func (s *Secrets) LdapRequestDynamicRoleCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapRequestDynamicRoleCredentials name: Name of the dynamic role.
func (*Secrets) LdapRequestStaticRoleCredentials ¶
func (s *Secrets) LdapRequestStaticRoleCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapRequestStaticRoleCredentials name: Name of the static role.
func (*Secrets) LdapRotateRootCredentials ¶
func (s *Secrets) LdapRotateRootCredentials(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapRotateRootCredentials
func (*Secrets) LdapRotateStaticRole ¶
func (s *Secrets) LdapRotateStaticRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapRotateStaticRole name: Name of the static role
func (*Secrets) LdapWriteDynamicRole ¶
func (s *Secrets) LdapWriteDynamicRole(ctx context.Context, name string, request schema.LdapWriteDynamicRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LdapWriteDynamicRole 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) MongoDbAtlasConfigure ¶
func (s *Secrets) MongoDbAtlasConfigure(ctx context.Context, request schema.MongoDbAtlasConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MongoDbAtlasConfigure
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) MongoDbAtlasGenerateCredentials ¶
func (s *Secrets) MongoDbAtlasGenerateCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
MongoDbAtlasGenerateCredentials name: Name of the role
func (*Secrets) MongoDbAtlasListRoles ¶
func (s *Secrets) MongoDbAtlasListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
MongoDbAtlasListRoles List the existing roles in this backend
func (*Secrets) MongoDbAtlasReadConfiguration ¶
func (s *Secrets) MongoDbAtlasReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
MongoDbAtlasReadConfiguration
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) 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) NomadConfigureAccess ¶
func (s *Secrets) NomadConfigureAccess(ctx context.Context, request schema.NomadConfigureAccessRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadConfigureAccess
func (*Secrets) NomadConfigureLease ¶
func (s *Secrets) NomadConfigureLease(ctx context.Context, request schema.NomadConfigureLeaseRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadConfigureLease
func (*Secrets) NomadDeleteAccessConfiguration ¶
func (s *Secrets) NomadDeleteAccessConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadDeleteAccessConfiguration
func (*Secrets) NomadDeleteLeaseConfiguration ¶
func (s *Secrets) NomadDeleteLeaseConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadDeleteLeaseConfiguration
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) NomadGenerateCredentials ¶
func (s *Secrets) NomadGenerateCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadGenerateCredentials name: Name of the role
func (*Secrets) NomadListRoles ¶
func (s *Secrets) NomadListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
NomadListRoles
func (*Secrets) NomadReadAccessConfiguration ¶
func (s *Secrets) NomadReadAccessConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadReadAccessConfiguration
func (*Secrets) NomadReadLeaseConfiguration ¶
func (s *Secrets) NomadReadLeaseConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
NomadReadLeaseConfiguration
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) 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) PkiConfigureAcme ¶
func (s *Secrets) PkiConfigureAcme(ctx context.Context, request schema.PkiConfigureAcmeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiConfigureAcme
func (*Secrets) PkiConfigureAutoTidy ¶
func (s *Secrets) PkiConfigureAutoTidy(ctx context.Context, request schema.PkiConfigureAutoTidyRequest, options ...RequestOption) (*Response[schema.PkiConfigureAutoTidyResponse], error)
PkiConfigureAutoTidy
func (*Secrets) PkiConfigureCa ¶
func (s *Secrets) PkiConfigureCa(ctx context.Context, request schema.PkiConfigureCaRequest, options ...RequestOption) (*Response[schema.PkiConfigureCaResponse], error)
PkiConfigureCa
func (*Secrets) PkiConfigureCluster ¶
func (s *Secrets) PkiConfigureCluster(ctx context.Context, request schema.PkiConfigureClusterRequest, options ...RequestOption) (*Response[schema.PkiConfigureClusterResponse], error)
PkiConfigureCluster
func (*Secrets) PkiConfigureCrl ¶
func (s *Secrets) PkiConfigureCrl(ctx context.Context, request schema.PkiConfigureCrlRequest, options ...RequestOption) (*Response[schema.PkiConfigureCrlResponse], error)
PkiConfigureCrl
func (*Secrets) PkiConfigureIssuers ¶
func (s *Secrets) PkiConfigureIssuers(ctx context.Context, request schema.PkiConfigureIssuersRequest, options ...RequestOption) (*Response[schema.PkiConfigureIssuersResponse], error)
PkiConfigureIssuers
func (*Secrets) PkiConfigureKeys ¶
func (s *Secrets) PkiConfigureKeys(ctx context.Context, request schema.PkiConfigureKeysRequest, options ...RequestOption) (*Response[schema.PkiConfigureKeysResponse], error)
PkiConfigureKeys
func (*Secrets) PkiConfigureUrls ¶
func (s *Secrets) PkiConfigureUrls(ctx context.Context, request schema.PkiConfigureUrlsRequest, options ...RequestOption) (*Response[schema.PkiConfigureUrlsResponse], error)
PkiConfigureUrls
func (*Secrets) PkiCrossSignIntermediate ¶
func (s *Secrets) PkiCrossSignIntermediate(ctx context.Context, request schema.PkiCrossSignIntermediateRequest, options ...RequestOption) (*Response[schema.PkiCrossSignIntermediateResponse], error)
PkiCrossSignIntermediate
func (*Secrets) PkiDeleteEabKey ¶
func (s *Secrets) PkiDeleteEabKey(ctx context.Context, keyId string, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiDeleteEabKey keyId: EAB key identifier
func (*Secrets) PkiDeleteIssuer ¶
func (s *Secrets) PkiDeleteIssuer(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiDeleteIssuer issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
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) PkiGenerateEabKey ¶
func (s *Secrets) PkiGenerateEabKey(ctx context.Context, options ...RequestOption) (*Response[schema.PkiGenerateEabKeyResponse], error)
PkiGenerateEabKey
func (*Secrets) PkiGenerateEabKeyForIssuer ¶
func (s *Secrets) PkiGenerateEabKeyForIssuer(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiGenerateEabKeyForIssuerResponse], error)
PkiGenerateEabKeyForIssuer issuerRef: Reference to an existing issuer name or issuer id
func (*Secrets) PkiGenerateEabKeyForIssuerAndRole ¶
func (s *Secrets) PkiGenerateEabKeyForIssuerAndRole(ctx context.Context, issuerRef string, role string, options ...RequestOption) (*Response[schema.PkiGenerateEabKeyForIssuerAndRoleResponse], error)
PkiGenerateEabKeyForIssuerAndRole issuerRef: Reference to an existing issuer name or issuer id role: The desired role for the acme request
func (*Secrets) PkiGenerateEabKeyForRole ¶
func (s *Secrets) PkiGenerateEabKeyForRole(ctx context.Context, role string, options ...RequestOption) (*Response[schema.PkiGenerateEabKeyForRoleResponse], error)
PkiGenerateEabKeyForRole role: The desired role for the acme request
func (*Secrets) PkiGenerateExportedKey ¶
func (s *Secrets) PkiGenerateExportedKey(ctx context.Context, request schema.PkiGenerateExportedKeyRequest, options ...RequestOption) (*Response[schema.PkiGenerateExportedKeyResponse], error)
PkiGenerateExportedKey
func (*Secrets) PkiGenerateIntermediate ¶
func (s *Secrets) PkiGenerateIntermediate(ctx context.Context, exported string, request schema.PkiGenerateIntermediateRequest, options ...RequestOption) (*Response[schema.PkiGenerateIntermediateResponse], error)
PkiGenerateIntermediate 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) PkiGenerateInternalKey ¶
func (s *Secrets) PkiGenerateInternalKey(ctx context.Context, request schema.PkiGenerateInternalKeyRequest, options ...RequestOption) (*Response[schema.PkiGenerateInternalKeyResponse], error)
PkiGenerateInternalKey
func (*Secrets) PkiGenerateKmsKey ¶
func (s *Secrets) PkiGenerateKmsKey(ctx context.Context, request schema.PkiGenerateKmsKeyRequest, options ...RequestOption) (*Response[schema.PkiGenerateKmsKeyResponse], error)
PkiGenerateKmsKey
func (*Secrets) PkiGenerateRoot ¶
func (s *Secrets) PkiGenerateRoot(ctx context.Context, exported string, request schema.PkiGenerateRootRequest, options ...RequestOption) (*Response[schema.PkiGenerateRootResponse], 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) PkiImportKey ¶
func (s *Secrets) PkiImportKey(ctx context.Context, request schema.PkiImportKeyRequest, options ...RequestOption) (*Response[schema.PkiImportKeyResponse], error)
PkiImportKey
func (*Secrets) PkiIssueWithRole ¶
func (s *Secrets) PkiIssueWithRole(ctx context.Context, role string, request schema.PkiIssueWithRoleRequest, options ...RequestOption) (*Response[schema.PkiIssueWithRoleResponse], error)
PkiIssueWithRole role: The desired role with configuration for this request
func (*Secrets) PkiIssuerIssueWithRole ¶
func (s *Secrets) PkiIssuerIssueWithRole(ctx context.Context, issuerRef string, role string, request schema.PkiIssuerIssueWithRoleRequest, options ...RequestOption) (*Response[schema.PkiIssuerIssueWithRoleResponse], error)
PkiIssuerIssueWithRole 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) PkiIssuerReadCrl ¶
func (s *Secrets) PkiIssuerReadCrl(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiIssuerReadCrlResponse], error)
PkiIssuerReadCrl issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiIssuerReadCrlDelta ¶
func (s *Secrets) PkiIssuerReadCrlDelta(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiIssuerReadCrlDeltaResponse], error)
PkiIssuerReadCrlDelta issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiIssuerReadCrlDeltaDer ¶
func (s *Secrets) PkiIssuerReadCrlDeltaDer(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiIssuerReadCrlDeltaDerResponse], error)
PkiIssuerReadCrlDeltaDer issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiIssuerReadCrlDeltaPem ¶
func (s *Secrets) PkiIssuerReadCrlDeltaPem(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiIssuerReadCrlDeltaPemResponse], error)
PkiIssuerReadCrlDeltaPem issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiIssuerReadCrlDer ¶
func (s *Secrets) PkiIssuerReadCrlDer(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiIssuerReadCrlDerResponse], error)
PkiIssuerReadCrlDer issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiIssuerReadCrlPem ¶
func (s *Secrets) PkiIssuerReadCrlPem(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiIssuerReadCrlPemResponse], error)
PkiIssuerReadCrlPem issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiIssuerResignCrls ¶
func (s *Secrets) PkiIssuerResignCrls(ctx context.Context, issuerRef string, request schema.PkiIssuerResignCrlsRequest, options ...RequestOption) (*Response[schema.PkiIssuerResignCrlsResponse], 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) PkiIssuerSignIntermediate ¶
func (s *Secrets) PkiIssuerSignIntermediate(ctx context.Context, issuerRef string, request schema.PkiIssuerSignIntermediateRequest, options ...RequestOption) (*Response[schema.PkiIssuerSignIntermediateResponse], 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[schema.PkiIssuerSignRevocationListResponse], 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) PkiIssuerSignSelfIssued ¶
func (s *Secrets) PkiIssuerSignSelfIssued(ctx context.Context, issuerRef string, request schema.PkiIssuerSignSelfIssuedRequest, options ...RequestOption) (*Response[schema.PkiIssuerSignSelfIssuedResponse], 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[schema.PkiIssuerSignVerbatimResponse], 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) PkiIssuerSignVerbatimWithRole ¶
func (s *Secrets) PkiIssuerSignVerbatimWithRole(ctx context.Context, issuerRef string, role string, request schema.PkiIssuerSignVerbatimWithRoleRequest, options ...RequestOption) (*Response[schema.PkiIssuerSignVerbatimWithRoleResponse], error)
PkiIssuerSignVerbatimWithRole 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) PkiIssuerSignWithRole ¶
func (s *Secrets) PkiIssuerSignWithRole(ctx context.Context, issuerRef string, role string, request schema.PkiIssuerSignWithRoleRequest, options ...RequestOption) (*Response[schema.PkiIssuerSignWithRoleResponse], error)
PkiIssuerSignWithRole 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[schema.PkiIssuersGenerateIntermediateResponse], 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[schema.PkiIssuersGenerateRootResponse], 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) PkiIssuersImportBundle ¶
func (s *Secrets) PkiIssuersImportBundle(ctx context.Context, request schema.PkiIssuersImportBundleRequest, options ...RequestOption) (*Response[schema.PkiIssuersImportBundleResponse], error)
PkiIssuersImportBundle
func (*Secrets) PkiIssuersImportCert ¶
func (s *Secrets) PkiIssuersImportCert(ctx context.Context, request schema.PkiIssuersImportCertRequest, options ...RequestOption) (*Response[schema.PkiIssuersImportCertResponse], error)
PkiIssuersImportCert
func (*Secrets) PkiListCerts ¶
func (s *Secrets) PkiListCerts(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
PkiListCerts
func (*Secrets) PkiListEabKeys ¶
func (s *Secrets) PkiListEabKeys(ctx context.Context, options ...RequestOption) (*Response[schema.PkiListEabKeysResponse], error)
PkiListEabKeys
func (*Secrets) PkiListIssuers ¶
func (s *Secrets) PkiListIssuers(ctx context.Context, options ...RequestOption) (*Response[schema.PkiListIssuersResponse], error)
PkiListIssuers
func (*Secrets) PkiListKeys ¶
func (s *Secrets) PkiListKeys(ctx context.Context, options ...RequestOption) (*Response[schema.PkiListKeysResponse], error)
PkiListKeys
func (*Secrets) PkiListRevokedCerts ¶
func (s *Secrets) PkiListRevokedCerts(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
PkiListRevokedCerts
func (*Secrets) PkiListRoles ¶
func (s *Secrets) PkiListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
PkiListRoles
func (*Secrets) PkiQueryOcsp ¶
func (s *Secrets) PkiQueryOcsp(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiQueryOcsp
func (*Secrets) PkiQueryOcspWithGetReq ¶
func (s *Secrets) PkiQueryOcspWithGetReq(ctx context.Context, req string, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiQueryOcspWithGetReq req: base-64 encoded ocsp request
func (*Secrets) PkiReadAcmeConfiguration ¶
func (s *Secrets) PkiReadAcmeConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadAcmeConfiguration
func (*Secrets) PkiReadAcmeDirectory ¶
func (s *Secrets) PkiReadAcmeDirectory(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadAcmeDirectory
func (*Secrets) PkiReadAcmeNewNonce ¶
func (s *Secrets) PkiReadAcmeNewNonce(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadAcmeNewNonce
func (*Secrets) PkiReadAutoTidyConfiguration ¶
func (s *Secrets) PkiReadAutoTidyConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadAutoTidyConfigurationResponse], error)
PkiReadAutoTidyConfiguration
func (*Secrets) PkiReadCaChainPem ¶
func (s *Secrets) PkiReadCaChainPem(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCaChainPemResponse], error)
PkiReadCaChainPem
func (*Secrets) PkiReadCaDer ¶
func (s *Secrets) PkiReadCaDer(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCaDerResponse], error)
PkiReadCaDer
func (*Secrets) PkiReadCaPem ¶
func (s *Secrets) PkiReadCaPem(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCaPemResponse], error)
PkiReadCaPem
func (*Secrets) PkiReadCert ¶
func (s *Secrets) PkiReadCert(ctx context.Context, serial string, options ...RequestOption) (*Response[schema.PkiReadCertResponse], 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[schema.PkiReadCertCaChainResponse], error)
PkiReadCertCaChain
func (*Secrets) PkiReadCertCrl ¶
func (s *Secrets) PkiReadCertCrl(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCertCrlResponse], error)
PkiReadCertCrl
func (*Secrets) PkiReadCertDeltaCrl ¶
func (s *Secrets) PkiReadCertDeltaCrl(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCertDeltaCrlResponse], error)
PkiReadCertDeltaCrl
func (*Secrets) PkiReadCertRawDer ¶
func (s *Secrets) PkiReadCertRawDer(ctx context.Context, serial string, options ...RequestOption) (*Response[schema.PkiReadCertRawDerResponse], error)
PkiReadCertRawDer 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[schema.PkiReadCertRawPemResponse], error)
PkiReadCertRawPem serial: Certificate serial number, in colon- or hyphen-separated octal
func (*Secrets) PkiReadClusterConfiguration ¶
func (s *Secrets) PkiReadClusterConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadClusterConfigurationResponse], error)
PkiReadClusterConfiguration
func (*Secrets) PkiReadCrlConfiguration ¶
func (s *Secrets) PkiReadCrlConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCrlConfigurationResponse], error)
PkiReadCrlConfiguration
func (*Secrets) PkiReadCrlDelta ¶
func (s *Secrets) PkiReadCrlDelta(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCrlDeltaResponse], error)
PkiReadCrlDelta
func (*Secrets) PkiReadCrlDeltaPem ¶
func (s *Secrets) PkiReadCrlDeltaPem(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCrlDeltaPemResponse], error)
PkiReadCrlDeltaPem
func (*Secrets) PkiReadCrlDer ¶
func (s *Secrets) PkiReadCrlDer(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCrlDerResponse], error)
PkiReadCrlDer
func (*Secrets) PkiReadCrlPem ¶
func (s *Secrets) PkiReadCrlPem(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadCrlPemResponse], error)
PkiReadCrlPem
func (*Secrets) PkiReadIssuer ¶
func (s *Secrets) PkiReadIssuer(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiReadIssuerResponse], error)
PkiReadIssuer issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiReadIssuerDer ¶
func (s *Secrets) PkiReadIssuerDer(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiReadIssuerDerResponse], error)
PkiReadIssuerDer issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiReadIssuerIssuerRefAcmeDirectory ¶
func (s *Secrets) PkiReadIssuerIssuerRefAcmeDirectory(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadIssuerIssuerRefAcmeDirectory issuerRef: Reference to an existing issuer name or issuer id
func (*Secrets) PkiReadIssuerIssuerRefAcmeNewNonce ¶
func (s *Secrets) PkiReadIssuerIssuerRefAcmeNewNonce(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadIssuerIssuerRefAcmeNewNonce issuerRef: Reference to an existing issuer name or issuer id
func (*Secrets) PkiReadIssuerIssuerRefRolesRoleAcmeDirectory ¶
func (s *Secrets) PkiReadIssuerIssuerRefRolesRoleAcmeDirectory(ctx context.Context, issuerRef string, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadIssuerIssuerRefRolesRoleAcmeDirectory issuerRef: Reference to an existing issuer name or issuer id role: The desired role for the acme request
func (*Secrets) PkiReadIssuerIssuerRefRolesRoleAcmeNewNonce ¶
func (s *Secrets) PkiReadIssuerIssuerRefRolesRoleAcmeNewNonce(ctx context.Context, issuerRef string, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadIssuerIssuerRefRolesRoleAcmeNewNonce issuerRef: Reference to an existing issuer name or issuer id role: The desired role for the acme request
func (*Secrets) PkiReadIssuerJson ¶
func (s *Secrets) PkiReadIssuerJson(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiReadIssuerJsonResponse], error)
PkiReadIssuerJson issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiReadIssuerPem ¶
func (s *Secrets) PkiReadIssuerPem(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiReadIssuerPemResponse], error)
PkiReadIssuerPem issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiReadIssuersConfiguration ¶
func (s *Secrets) PkiReadIssuersConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadIssuersConfigurationResponse], error)
PkiReadIssuersConfiguration
func (*Secrets) PkiReadKey ¶
func (s *Secrets) PkiReadKey(ctx context.Context, keyRef string, options ...RequestOption) (*Response[schema.PkiReadKeyResponse], 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) PkiReadKeysConfiguration ¶
func (s *Secrets) PkiReadKeysConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadKeysConfigurationResponse], error)
PkiReadKeysConfiguration
func (*Secrets) PkiReadRole ¶
func (s *Secrets) PkiReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[schema.PkiReadRoleResponse], error)
PkiReadRole name: Name of the role
func (*Secrets) PkiReadRolesRoleAcmeDirectory ¶
func (s *Secrets) PkiReadRolesRoleAcmeDirectory(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadRolesRoleAcmeDirectory role: The desired role for the acme request
func (*Secrets) PkiReadRolesRoleAcmeNewNonce ¶
func (s *Secrets) PkiReadRolesRoleAcmeNewNonce(ctx context.Context, role string, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiReadRolesRoleAcmeNewNonce role: The desired role for the acme request
func (*Secrets) PkiReadUrlsConfiguration ¶
func (s *Secrets) PkiReadUrlsConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.PkiReadUrlsConfigurationResponse], error)
PkiReadUrlsConfiguration
func (*Secrets) PkiReplaceRoot ¶
func (s *Secrets) PkiReplaceRoot(ctx context.Context, request schema.PkiReplaceRootRequest, options ...RequestOption) (*Response[schema.PkiReplaceRootResponse], error)
PkiReplaceRoot
func (*Secrets) PkiRevoke ¶
func (s *Secrets) PkiRevoke(ctx context.Context, request schema.PkiRevokeRequest, options ...RequestOption) (*Response[schema.PkiRevokeResponse], error)
PkiRevoke
func (*Secrets) PkiRevokeIssuer ¶
func (s *Secrets) PkiRevokeIssuer(ctx context.Context, issuerRef string, options ...RequestOption) (*Response[schema.PkiRevokeIssuerResponse], error)
PkiRevokeIssuer issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiRevokeWithKey ¶
func (s *Secrets) PkiRevokeWithKey(ctx context.Context, request schema.PkiRevokeWithKeyRequest, options ...RequestOption) (*Response[schema.PkiRevokeWithKeyResponse], error)
PkiRevokeWithKey
func (*Secrets) PkiRootSignIntermediate ¶
func (s *Secrets) PkiRootSignIntermediate(ctx context.Context, request schema.PkiRootSignIntermediateRequest, options ...RequestOption) (*Response[schema.PkiRootSignIntermediateResponse], error)
PkiRootSignIntermediate
func (*Secrets) PkiRootSignSelfIssued ¶
func (s *Secrets) PkiRootSignSelfIssued(ctx context.Context, request schema.PkiRootSignSelfIssuedRequest, options ...RequestOption) (*Response[schema.PkiRootSignSelfIssuedResponse], error)
PkiRootSignSelfIssued
func (*Secrets) PkiRotateCrl ¶
func (s *Secrets) PkiRotateCrl(ctx context.Context, options ...RequestOption) (*Response[schema.PkiRotateCrlResponse], error)
PkiRotateCrl
func (*Secrets) PkiRotateDeltaCrl ¶
func (s *Secrets) PkiRotateDeltaCrl(ctx context.Context, options ...RequestOption) (*Response[schema.PkiRotateDeltaCrlResponse], error)
PkiRotateDeltaCrl
func (*Secrets) PkiRotateRoot ¶
func (s *Secrets) PkiRotateRoot(ctx context.Context, exported string, request schema.PkiRotateRootRequest, options ...RequestOption) (*Response[schema.PkiRotateRootResponse], 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) PkiSetSignedIntermediate ¶
func (s *Secrets) PkiSetSignedIntermediate(ctx context.Context, request schema.PkiSetSignedIntermediateRequest, options ...RequestOption) (*Response[schema.PkiSetSignedIntermediateResponse], error)
PkiSetSignedIntermediate
func (*Secrets) PkiSignVerbatim ¶
func (s *Secrets) PkiSignVerbatim(ctx context.Context, request schema.PkiSignVerbatimRequest, options ...RequestOption) (*Response[schema.PkiSignVerbatimResponse], error)
PkiSignVerbatim
func (*Secrets) PkiSignVerbatimWithRole ¶
func (s *Secrets) PkiSignVerbatimWithRole(ctx context.Context, role string, request schema.PkiSignVerbatimWithRoleRequest, options ...RequestOption) (*Response[schema.PkiSignVerbatimWithRoleResponse], error)
PkiSignVerbatimWithRole role: The desired role with configuration for this request
func (*Secrets) PkiSignWithRole ¶
func (s *Secrets) PkiSignWithRole(ctx context.Context, role string, request schema.PkiSignWithRoleRequest, options ...RequestOption) (*Response[schema.PkiSignWithRoleResponse], error)
PkiSignWithRole 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[schema.PkiTidyCancelResponse], error)
PkiTidyCancel
func (*Secrets) PkiTidyStatus ¶
func (s *Secrets) PkiTidyStatus(ctx context.Context, options ...RequestOption) (*Response[schema.PkiTidyStatusResponse], error)
PkiTidyStatus
func (*Secrets) PkiWriteAcmeAccountKid ¶
func (s *Secrets) PkiWriteAcmeAccountKid(ctx context.Context, kid string, request schema.PkiWriteAcmeAccountKidRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteAcmeAccountKid kid: The key identifier provided by the CA
func (*Secrets) PkiWriteAcmeAuthorizationAuthId ¶
func (s *Secrets) PkiWriteAcmeAuthorizationAuthId(ctx context.Context, authId string, request schema.PkiWriteAcmeAuthorizationAuthIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteAcmeAuthorizationAuthId authId: ACME authorization identifier value
func (*Secrets) PkiWriteAcmeChallengeAuthIdChallengeType ¶
func (s *Secrets) PkiWriteAcmeChallengeAuthIdChallengeType(ctx context.Context, authId string, challengeType string, request schema.PkiWriteAcmeChallengeAuthIdChallengeTypeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteAcmeChallengeAuthIdChallengeType authId: ACME authorization identifier value challengeType: ACME challenge type
func (*Secrets) PkiWriteAcmeNewAccount ¶
func (s *Secrets) PkiWriteAcmeNewAccount(ctx context.Context, request schema.PkiWriteAcmeNewAccountRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteAcmeNewAccount
func (*Secrets) PkiWriteAcmeNewOrder ¶
func (s *Secrets) PkiWriteAcmeNewOrder(ctx context.Context, request schema.PkiWriteAcmeNewOrderRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteAcmeNewOrder
func (*Secrets) PkiWriteAcmeOrderOrderId ¶
func (s *Secrets) PkiWriteAcmeOrderOrderId(ctx context.Context, orderId string, request schema.PkiWriteAcmeOrderOrderIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteAcmeOrderOrderId orderId: The ACME order identifier to fetch
func (*Secrets) PkiWriteAcmeOrderOrderIdCert ¶
func (s *Secrets) PkiWriteAcmeOrderOrderIdCert(ctx context.Context, orderId string, request schema.PkiWriteAcmeOrderOrderIdCertRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteAcmeOrderOrderIdCert orderId: The ACME order identifier to fetch
func (*Secrets) PkiWriteAcmeOrderOrderIdFinalize ¶
func (s *Secrets) PkiWriteAcmeOrderOrderIdFinalize(ctx context.Context, orderId string, request schema.PkiWriteAcmeOrderOrderIdFinalizeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteAcmeOrderOrderIdFinalize orderId: The ACME order identifier to fetch
func (*Secrets) PkiWriteAcmeOrders ¶
func (s *Secrets) PkiWriteAcmeOrders(ctx context.Context, request schema.PkiWriteAcmeOrdersRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteAcmeOrders
func (*Secrets) PkiWriteAcmeRevokeCert ¶
func (s *Secrets) PkiWriteAcmeRevokeCert(ctx context.Context, request schema.PkiWriteAcmeRevokeCertRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteAcmeRevokeCert
func (*Secrets) PkiWriteIssuer ¶
func (s *Secrets) PkiWriteIssuer(ctx context.Context, issuerRef string, request schema.PkiWriteIssuerRequest, options ...RequestOption) (*Response[schema.PkiWriteIssuerResponse], error)
PkiWriteIssuer issuerRef: Reference to a existing issuer; either \"default\" for the configured default issuer, an identifier or the name assigned to the issuer.
func (*Secrets) PkiWriteIssuerIssuerRefAcmeAccountKid ¶
func (s *Secrets) PkiWriteIssuerIssuerRefAcmeAccountKid(ctx context.Context, issuerRef string, kid string, request schema.PkiWriteIssuerIssuerRefAcmeAccountKidRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefAcmeAccountKid issuerRef: Reference to an existing issuer name or issuer id kid: The key identifier provided by the CA
func (*Secrets) PkiWriteIssuerIssuerRefAcmeAuthorizationAuthId ¶
func (s *Secrets) PkiWriteIssuerIssuerRefAcmeAuthorizationAuthId(ctx context.Context, authId string, issuerRef string, request schema.PkiWriteIssuerIssuerRefAcmeAuthorizationAuthIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefAcmeAuthorizationAuthId authId: ACME authorization identifier value issuerRef: Reference to an existing issuer name or issuer id
func (*Secrets) PkiWriteIssuerIssuerRefAcmeChallengeAuthIdChallengeType ¶
func (s *Secrets) PkiWriteIssuerIssuerRefAcmeChallengeAuthIdChallengeType(ctx context.Context, authId string, challengeType string, issuerRef string, request schema.PkiWriteIssuerIssuerRefAcmeChallengeAuthIdChallengeTypeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefAcmeChallengeAuthIdChallengeType authId: ACME authorization identifier value challengeType: ACME challenge type issuerRef: Reference to an existing issuer name or issuer id
func (*Secrets) PkiWriteIssuerIssuerRefAcmeNewAccount ¶
func (s *Secrets) PkiWriteIssuerIssuerRefAcmeNewAccount(ctx context.Context, issuerRef string, request schema.PkiWriteIssuerIssuerRefAcmeNewAccountRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefAcmeNewAccount issuerRef: Reference to an existing issuer name or issuer id
func (*Secrets) PkiWriteIssuerIssuerRefAcmeNewOrder ¶
func (s *Secrets) PkiWriteIssuerIssuerRefAcmeNewOrder(ctx context.Context, issuerRef string, request schema.PkiWriteIssuerIssuerRefAcmeNewOrderRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefAcmeNewOrder issuerRef: Reference to an existing issuer name or issuer id
func (*Secrets) PkiWriteIssuerIssuerRefAcmeOrderOrderId ¶
func (s *Secrets) PkiWriteIssuerIssuerRefAcmeOrderOrderId(ctx context.Context, issuerRef string, orderId string, request schema.PkiWriteIssuerIssuerRefAcmeOrderOrderIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefAcmeOrderOrderId issuerRef: Reference to an existing issuer name or issuer id orderId: The ACME order identifier to fetch
func (*Secrets) PkiWriteIssuerIssuerRefAcmeOrderOrderIdCert ¶
func (s *Secrets) PkiWriteIssuerIssuerRefAcmeOrderOrderIdCert(ctx context.Context, issuerRef string, orderId string, request schema.PkiWriteIssuerIssuerRefAcmeOrderOrderIdCertRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefAcmeOrderOrderIdCert issuerRef: Reference to an existing issuer name or issuer id orderId: The ACME order identifier to fetch
func (*Secrets) PkiWriteIssuerIssuerRefAcmeOrderOrderIdFinalize ¶
func (s *Secrets) PkiWriteIssuerIssuerRefAcmeOrderOrderIdFinalize(ctx context.Context, issuerRef string, orderId string, request schema.PkiWriteIssuerIssuerRefAcmeOrderOrderIdFinalizeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefAcmeOrderOrderIdFinalize issuerRef: Reference to an existing issuer name or issuer id orderId: The ACME order identifier to fetch
func (*Secrets) PkiWriteIssuerIssuerRefAcmeOrders ¶
func (s *Secrets) PkiWriteIssuerIssuerRefAcmeOrders(ctx context.Context, issuerRef string, request schema.PkiWriteIssuerIssuerRefAcmeOrdersRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefAcmeOrders issuerRef: Reference to an existing issuer name or issuer id
func (*Secrets) PkiWriteIssuerIssuerRefAcmeRevokeCert ¶
func (s *Secrets) PkiWriteIssuerIssuerRefAcmeRevokeCert(ctx context.Context, issuerRef string, request schema.PkiWriteIssuerIssuerRefAcmeRevokeCertRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefAcmeRevokeCert issuerRef: Reference to an existing issuer name or issuer id
func (*Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeAccountKid ¶
func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeAccountKid(ctx context.Context, issuerRef string, kid string, role string, request schema.PkiWriteIssuerIssuerRefRolesRoleAcmeAccountKidRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefRolesRoleAcmeAccountKid issuerRef: Reference to an existing issuer name or issuer id kid: The key identifier provided by the CA role: The desired role for the acme request
func (*Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeAuthorizationAuthId ¶
func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeAuthorizationAuthId(ctx context.Context, authId string, issuerRef string, role string, request schema.PkiWriteIssuerIssuerRefRolesRoleAcmeAuthorizationAuthIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefRolesRoleAcmeAuthorizationAuthId authId: ACME authorization identifier value issuerRef: Reference to an existing issuer name or issuer id role: The desired role for the acme request
func (*Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeChallengeAuthIdChallengeType ¶
func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeChallengeAuthIdChallengeType(ctx context.Context, authId string, challengeType string, issuerRef string, role string, request schema.PkiWriteIssuerIssuerRefRolesRoleAcmeChallengeAuthIdChallengeTypeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefRolesRoleAcmeChallengeAuthIdChallengeType authId: ACME authorization identifier value challengeType: ACME challenge type issuerRef: Reference to an existing issuer name or issuer id role: The desired role for the acme request
func (*Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeNewAccount ¶
func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeNewAccount(ctx context.Context, issuerRef string, role string, request schema.PkiWriteIssuerIssuerRefRolesRoleAcmeNewAccountRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefRolesRoleAcmeNewAccount issuerRef: Reference to an existing issuer name or issuer id role: The desired role for the acme request
func (*Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeNewOrder ¶
func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeNewOrder(ctx context.Context, issuerRef string, role string, request schema.PkiWriteIssuerIssuerRefRolesRoleAcmeNewOrderRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefRolesRoleAcmeNewOrder issuerRef: Reference to an existing issuer name or issuer id role: The desired role for the acme request
func (*Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderId ¶
func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderId(ctx context.Context, issuerRef string, orderId string, role string, request schema.PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderId issuerRef: Reference to an existing issuer name or issuer id orderId: The ACME order identifier to fetch role: The desired role for the acme request
func (*Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdCert ¶
func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdCert(ctx context.Context, issuerRef string, orderId string, role string, request schema.PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdCertRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdCert issuerRef: Reference to an existing issuer name or issuer id orderId: The ACME order identifier to fetch role: The desired role for the acme request
func (*Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdFinalize ¶
func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdFinalize(ctx context.Context, issuerRef string, orderId string, role string, request schema.PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdFinalizeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefRolesRoleAcmeOrderOrderIdFinalize issuerRef: Reference to an existing issuer name or issuer id orderId: The ACME order identifier to fetch role: The desired role for the acme request
func (*Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeOrders ¶
func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeOrders(ctx context.Context, issuerRef string, role string, request schema.PkiWriteIssuerIssuerRefRolesRoleAcmeOrdersRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefRolesRoleAcmeOrders issuerRef: Reference to an existing issuer name or issuer id role: The desired role for the acme request
func (*Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeRevokeCert ¶
func (s *Secrets) PkiWriteIssuerIssuerRefRolesRoleAcmeRevokeCert(ctx context.Context, issuerRef string, role string, request schema.PkiWriteIssuerIssuerRefRolesRoleAcmeRevokeCertRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteIssuerIssuerRefRolesRoleAcmeRevokeCert issuerRef: Reference to an existing issuer name or issuer id role: The desired role for the acme request
func (*Secrets) PkiWriteKey ¶
func (s *Secrets) PkiWriteKey(ctx context.Context, keyRef string, request schema.PkiWriteKeyRequest, options ...RequestOption) (*Response[schema.PkiWriteKeyResponse], 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) PkiWriteRole ¶
func (s *Secrets) PkiWriteRole(ctx context.Context, name string, request schema.PkiWriteRoleRequest, options ...RequestOption) (*Response[schema.PkiWriteRoleResponse], error)
PkiWriteRole name: Name of the role
func (*Secrets) PkiWriteRolesRoleAcmeAccountKid ¶
func (s *Secrets) PkiWriteRolesRoleAcmeAccountKid(ctx context.Context, kid string, role string, request schema.PkiWriteRolesRoleAcmeAccountKidRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteRolesRoleAcmeAccountKid kid: The key identifier provided by the CA role: The desired role for the acme request
func (*Secrets) PkiWriteRolesRoleAcmeAuthorizationAuthId ¶
func (s *Secrets) PkiWriteRolesRoleAcmeAuthorizationAuthId(ctx context.Context, authId string, role string, request schema.PkiWriteRolesRoleAcmeAuthorizationAuthIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteRolesRoleAcmeAuthorizationAuthId authId: ACME authorization identifier value role: The desired role for the acme request
func (*Secrets) PkiWriteRolesRoleAcmeChallengeAuthIdChallengeType ¶
func (s *Secrets) PkiWriteRolesRoleAcmeChallengeAuthIdChallengeType(ctx context.Context, authId string, challengeType string, role string, request schema.PkiWriteRolesRoleAcmeChallengeAuthIdChallengeTypeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteRolesRoleAcmeChallengeAuthIdChallengeType authId: ACME authorization identifier value challengeType: ACME challenge type role: The desired role for the acme request
func (*Secrets) PkiWriteRolesRoleAcmeNewAccount ¶
func (s *Secrets) PkiWriteRolesRoleAcmeNewAccount(ctx context.Context, role string, request schema.PkiWriteRolesRoleAcmeNewAccountRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteRolesRoleAcmeNewAccount role: The desired role for the acme request
func (*Secrets) PkiWriteRolesRoleAcmeNewOrder ¶
func (s *Secrets) PkiWriteRolesRoleAcmeNewOrder(ctx context.Context, role string, request schema.PkiWriteRolesRoleAcmeNewOrderRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteRolesRoleAcmeNewOrder role: The desired role for the acme request
func (*Secrets) PkiWriteRolesRoleAcmeOrderOrderId ¶
func (s *Secrets) PkiWriteRolesRoleAcmeOrderOrderId(ctx context.Context, orderId string, role string, request schema.PkiWriteRolesRoleAcmeOrderOrderIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteRolesRoleAcmeOrderOrderId orderId: The ACME order identifier to fetch role: The desired role for the acme request
func (*Secrets) PkiWriteRolesRoleAcmeOrderOrderIdCert ¶
func (s *Secrets) PkiWriteRolesRoleAcmeOrderOrderIdCert(ctx context.Context, orderId string, role string, request schema.PkiWriteRolesRoleAcmeOrderOrderIdCertRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteRolesRoleAcmeOrderOrderIdCert orderId: The ACME order identifier to fetch role: The desired role for the acme request
func (*Secrets) PkiWriteRolesRoleAcmeOrderOrderIdFinalize ¶
func (s *Secrets) PkiWriteRolesRoleAcmeOrderOrderIdFinalize(ctx context.Context, orderId string, role string, request schema.PkiWriteRolesRoleAcmeOrderOrderIdFinalizeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteRolesRoleAcmeOrderOrderIdFinalize orderId: The ACME order identifier to fetch role: The desired role for the acme request
func (*Secrets) PkiWriteRolesRoleAcmeOrders ¶
func (s *Secrets) PkiWriteRolesRoleAcmeOrders(ctx context.Context, role string, request schema.PkiWriteRolesRoleAcmeOrdersRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteRolesRoleAcmeOrders role: The desired role for the acme request
func (*Secrets) PkiWriteRolesRoleAcmeRevokeCert ¶
func (s *Secrets) PkiWriteRolesRoleAcmeRevokeCert(ctx context.Context, role string, request schema.PkiWriteRolesRoleAcmeRevokeCertRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PkiWriteRolesRoleAcmeRevokeCert role: The desired role for the acme request
func (*Secrets) RabbitMqConfigureConnection ¶
func (s *Secrets) RabbitMqConfigureConnection(ctx context.Context, request schema.RabbitMqConfigureConnectionRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RabbitMqConfigureConnection Configure the connection URI, username, and password to talk to RabbitMQ management HTTP API.
func (*Secrets) RabbitMqConfigureLease ¶
func (s *Secrets) RabbitMqConfigureLease(ctx context.Context, request schema.RabbitMqConfigureLeaseRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RabbitMqConfigureLease
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[schema.StandardListResponse], error)
RabbitMqListRoles Manage the roles that can be created with this backend.
func (*Secrets) RabbitMqReadLeaseConfiguration ¶
func (s *Secrets) RabbitMqReadLeaseConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
RabbitMqReadLeaseConfiguration
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) RabbitMqRequestCredentials ¶
func (s *Secrets) RabbitMqRequestCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
RabbitMqRequestCredentials Request RabbitMQ credentials for a certain role. name: Name of the role.
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) SshConfigureCa ¶
func (s *Secrets) SshConfigureCa(ctx context.Context, request schema.SshConfigureCaRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SshConfigureCa
func (*Secrets) SshConfigureZeroAddress ¶
func (s *Secrets) SshConfigureZeroAddress(ctx context.Context, request schema.SshConfigureZeroAddressRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SshConfigureZeroAddress
func (*Secrets) SshDeleteCaConfiguration ¶
func (s *Secrets) SshDeleteCaConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
SshDeleteCaConfiguration
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) SshDeleteZeroAddressConfiguration ¶
func (s *Secrets) SshDeleteZeroAddressConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
SshDeleteZeroAddressConfiguration
func (*Secrets) SshGenerateCredentials ¶
func (s *Secrets) SshGenerateCredentials(ctx context.Context, role string, request schema.SshGenerateCredentialsRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SshGenerateCredentials Creates a credential for establishing SSH connection with the remote host. role: [Required] Name of the role
func (*Secrets) SshIssueCertificate ¶
func (s *Secrets) SshIssueCertificate(ctx context.Context, role string, request schema.SshIssueCertificateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SshIssueCertificate role: The desired role with configuration for this request.
func (*Secrets) SshListRoles ¶
func (s *Secrets) SshListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
SshListRoles Manage the 'roles' that can be created with this backend.
func (*Secrets) SshListRolesByIp ¶
func (s *Secrets) SshListRolesByIp(ctx context.Context, request schema.SshListRolesByIpRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SshListRolesByIp List all the roles associated with the given IP address.
func (*Secrets) SshReadCaConfiguration ¶
func (s *Secrets) SshReadCaConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
SshReadCaConfiguration
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) SshReadZeroAddressConfiguration ¶
func (s *Secrets) SshReadZeroAddressConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
SshReadZeroAddressConfiguration
func (*Secrets) SshSignCertificate ¶
func (s *Secrets) SshSignCertificate(ctx context.Context, role string, request schema.SshSignCertificateRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SshSignCertificate Request signing an SSH key using a certain role with the provided details. role: The desired role with configuration for this request.
func (*Secrets) SshTidyDynamicHostKeys ¶
func (s *Secrets) SshTidyDynamicHostKeys(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
SshTidyDynamicHostKeys This endpoint removes the stored host keys used for the removed Dynamic Key feature, if present.
func (*Secrets) SshVerifyOtp ¶
func (s *Secrets) SshVerifyOtp(ctx context.Context, request schema.SshVerifyOtpRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
SshVerifyOtp Validate the OTP provided by Vault SSH Agent.
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) TerraformCloudConfigure ¶
func (s *Secrets) TerraformCloudConfigure(ctx context.Context, request schema.TerraformCloudConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformCloudConfigure
func (*Secrets) TerraformCloudDeleteConfiguration ¶
func (s *Secrets) TerraformCloudDeleteConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformCloudDeleteConfiguration
func (*Secrets) TerraformCloudDeleteRole ¶
func (s *Secrets) TerraformCloudDeleteRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformCloudDeleteRole name: Name of the role
func (*Secrets) TerraformCloudGenerateCredentials ¶
func (s *Secrets) TerraformCloudGenerateCredentials(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformCloudGenerateCredentials name: Name of the role
func (*Secrets) TerraformCloudListRoles ¶
func (s *Secrets) TerraformCloudListRoles(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
TerraformCloudListRoles
func (*Secrets) TerraformCloudReadConfiguration ¶
func (s *Secrets) TerraformCloudReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformCloudReadConfiguration
func (*Secrets) TerraformCloudReadRole ¶
func (s *Secrets) TerraformCloudReadRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformCloudReadRole name: Name of the role
func (*Secrets) TerraformCloudRotateRole ¶
func (s *Secrets) TerraformCloudRotateRole(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformCloudRotateRole name: Name of the team or organization role
func (*Secrets) TerraformCloudWriteRole ¶
func (s *Secrets) TerraformCloudWriteRole(ctx context.Context, name string, request schema.TerraformCloudWriteRoleRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TerraformCloudWriteRole name: Name of the role
func (*Secrets) TotpCreateKey ¶
func (s *Secrets) TotpCreateKey(ctx context.Context, name string, request schema.TotpCreateKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TotpCreateKey name: Name of the key.
func (*Secrets) TotpDeleteKey ¶
func (s *Secrets) TotpDeleteKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TotpDeleteKey name: Name of the key.
func (*Secrets) TotpGenerateCode ¶
func (s *Secrets) TotpGenerateCode(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TotpGenerateCode name: Name of the key.
func (*Secrets) TotpListKeys ¶
func (s *Secrets) TotpListKeys(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
TotpListKeys Manage the keys that can be created with this backend.
func (*Secrets) TotpReadKey ¶
func (s *Secrets) TotpReadKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TotpReadKey name: Name of the key.
func (*Secrets) TotpValidateCode ¶
func (s *Secrets) TotpValidateCode(ctx context.Context, name string, request schema.TotpValidateCodeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TotpValidateCode name: Name of the key.
func (*Secrets) TransitBackUpKey ¶
func (s *Secrets) TransitBackUpKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitBackUpKey Backup the named key name: Name of the key
func (*Secrets) TransitByokKey ¶
func (s *Secrets) TransitByokKey(ctx context.Context, destination string, source string, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitByokKey Securely export named encryption or signing key destination: Destination key to export to; usually the public wrapping key of another Transit instance. source: Source key to export; could be any present key within Transit.
func (*Secrets) TransitByokKeyVersion ¶
func (s *Secrets) TransitByokKeyVersion(ctx context.Context, destination string, source string, version string, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitByokKeyVersion Securely export named encryption or signing key destination: Destination key to export to; usually the public wrapping key of another Transit instance. source: Source key to export; could be any present key within Transit. version: Optional version of the key to export, else all key versions are exported.
func (*Secrets) TransitConfigureCache ¶
func (s *Secrets) TransitConfigureCache(ctx context.Context, request schema.TransitConfigureCacheRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitConfigureCache Configures a new cache of the specified size
func (*Secrets) TransitConfigureKey ¶
func (s *Secrets) TransitConfigureKey(ctx context.Context, name string, request schema.TransitConfigureKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitConfigureKey Configure a named encryption key name: Name of the key
func (*Secrets) TransitConfigureKeys ¶
func (s *Secrets) TransitConfigureKeys(ctx context.Context, request schema.TransitConfigureKeysRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitConfigureKeys
func (*Secrets) TransitCreateKey ¶
func (s *Secrets) TransitCreateKey(ctx context.Context, name string, request schema.TransitCreateKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitCreateKey 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 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) TransitExportKey ¶
func (s *Secrets) TransitExportKey(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitExportKey Export named encryption or signing key name: Name of the key type_: Type of key to export (encryption-key, signing-key, hmac-key, public-key)
func (*Secrets) TransitExportKeyVersion ¶
func (s *Secrets) TransitExportKeyVersion(ctx context.Context, name string, type_ string, version string, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitExportKeyVersion Export named encryption or signing key name: Name of the key type_: Type of key to export (encryption-key, signing-key, hmac-key, public-key) version: Version of the key
func (*Secrets) TransitGenerateCsrForKey ¶
func (s *Secrets) TransitGenerateCsrForKey(ctx context.Context, name string, request schema.TransitGenerateCsrForKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitGenerateCsrForKey name: Name 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) TransitGenerateRandomWithBytes ¶
func (s *Secrets) TransitGenerateRandomWithBytes(ctx context.Context, urlbytes string, request schema.TransitGenerateRandomWithBytesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitGenerateRandomWithBytes Generate random bytes urlbytes: The number of bytes to generate (POST URL parameter)
func (*Secrets) TransitGenerateRandomWithSource ¶
func (s *Secrets) TransitGenerateRandomWithSource(ctx context.Context, source string, request schema.TransitGenerateRandomWithSourceRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitGenerateRandomWithSource Generate random bytes source: Which system to source random data from, ether \"platform\", \"seal\", or \"all\".
func (*Secrets) TransitGenerateRandomWithSourceAndBytes ¶
func (s *Secrets) TransitGenerateRandomWithSourceAndBytes(ctx context.Context, source string, urlbytes string, request schema.TransitGenerateRandomWithSourceAndBytesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitGenerateRandomWithSourceAndBytes 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[schema.StandardListResponse], error)
TransitListKeys Managed named encryption keys
func (*Secrets) TransitReadCacheConfiguration ¶
func (s *Secrets) TransitReadCacheConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitReadCacheConfiguration Returns the size of the active cache
func (*Secrets) TransitReadKey ¶
func (s *Secrets) TransitReadKey(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitReadKey name: Name of the key
func (*Secrets) TransitReadKeysConfiguration ¶
func (s *Secrets) TransitReadKeysConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitReadKeysConfiguration
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) TransitRestoreAndRenameKey ¶
func (s *Secrets) TransitRestoreAndRenameKey(ctx context.Context, name string, request schema.TransitRestoreAndRenameKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitRestoreAndRenameKey Restore the named key name: If set, this will be the name of the restored key.
func (*Secrets) TransitRestoreKey ¶
func (s *Secrets) TransitRestoreKey(ctx context.Context, request schema.TransitRestoreKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitRestoreKey Restore the named 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, request schema.TransitRotateKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitRotateKey Rotate named encryption key name: Name of the key
func (*Secrets) TransitSetCertificateForKey ¶
func (s *Secrets) TransitSetCertificateForKey(ctx context.Context, name string, request schema.TransitSetCertificateForKeyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
TransitSetCertificateForKey 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)
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) AuditingCalculateHash ¶
func (s *System) AuditingCalculateHash(ctx context.Context, path string, request schema.AuditingCalculateHashRequest, options ...RequestOption) (*Response[schema.AuditingCalculateHashResponse], error)
AuditingCalculateHash path: The name of the backend. Cannot be delimited. Example: \"mysql\"
func (*System) AuditingDisableDevice ¶
func (s *System) AuditingDisableDevice(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
AuditingDisableDevice Disable the audit device at the given path. path: The name of the backend. Cannot be delimited. Example: \"mysql\"
func (*System) AuditingDisableRequestHeader ¶
func (s *System) AuditingDisableRequestHeader(ctx context.Context, header string, options ...RequestOption) (*Response[map[string]interface{}], error)
AuditingDisableRequestHeader Disable auditing of the given request header.
func (*System) AuditingEnableDevice ¶
func (s *System) AuditingEnableDevice(ctx context.Context, path string, request schema.AuditingEnableDeviceRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AuditingEnableDevice Enable a new audit device at the supplied path. path: The name of the backend. Cannot be delimited. Example: \"mysql\"
func (*System) AuditingEnableRequestHeader ¶
func (s *System) AuditingEnableRequestHeader(ctx context.Context, header string, request schema.AuditingEnableRequestHeaderRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AuditingEnableRequestHeader Enable auditing of a header.
func (*System) AuditingListEnabledDevices ¶
func (s *System) AuditingListEnabledDevices(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AuditingListEnabledDevices List the enabled audit devices.
func (*System) AuditingListRequestHeaders ¶
func (s *System) AuditingListRequestHeaders(ctx context.Context, options ...RequestOption) (*Response[schema.AuditingListRequestHeadersResponse], error)
AuditingListRequestHeaders List the request headers that are configured to be audited.
func (*System) AuditingReadRequestHeaderInformation ¶
func (s *System) AuditingReadRequestHeaderInformation(ctx context.Context, header string, options ...RequestOption) (*Response[map[string]interface{}], error)
AuditingReadRequestHeaderInformation List the information for the given request header.
func (*System) AuthDisableMethod ¶
func (s *System) AuthDisableMethod(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
AuthDisableMethod Disable the auth method at the given auth path path: The path to mount to. Cannot be delimited. Example: \"user\"
func (*System) AuthEnableMethod ¶
func (s *System) AuthEnableMethod(ctx context.Context, path string, request schema.AuthEnableMethodRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AuthEnableMethod 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) AuthListEnabledMethods ¶
func (s *System) AuthListEnabledMethods(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
AuthListEnabledMethods
func (*System) AuthReadConfiguration ¶
func (s *System) AuthReadConfiguration(ctx context.Context, path string, options ...RequestOption) (*Response[schema.AuthReadConfigurationResponse], error)
AuthReadConfiguration Read the configuration of the auth engine at the given path. path: The path to mount to. Cannot be delimited. Example: \"user\"
func (*System) AuthReadTuningInformation ¶
func (s *System) AuthReadTuningInformation(ctx context.Context, path string, options ...RequestOption) (*Response[schema.AuthReadTuningInformationResponse], error)
AuthReadTuningInformation 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) AuthTuneConfigurationParameters ¶
func (s *System) AuthTuneConfigurationParameters(ctx context.Context, path string, request schema.AuthTuneConfigurationParametersRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
AuthTuneConfigurationParameters 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) CollectHostInformation ¶
func (s *System) CollectHostInformation(ctx context.Context, options ...RequestOption) (*Response[schema.CollectHostInformationResponse], error)
CollectHostInformation 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) CollectInFlightRequestInformation ¶
func (s *System) CollectInFlightRequestInformation(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
CollectInFlightRequestInformation reports in-flight requests This path responds to the following HTTP methods. GET / Returns a map of in-flight requests.
func (*System) CorsConfigure ¶
func (s *System) CorsConfigure(ctx context.Context, request schema.CorsConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
CorsConfigure Configure the CORS settings.
func (*System) CorsDeleteConfiguration ¶
func (s *System) CorsDeleteConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
CorsDeleteConfiguration Remove any CORS settings.
func (*System) CorsReadConfiguration ¶
func (s *System) CorsReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.CorsReadConfigurationResponse], error)
CorsReadConfiguration Return the current CORS settings.
func (*System) Decode ¶
func (s *System) Decode(ctx context.Context, request schema.DecodeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
Decode Decodes the encoded token with the otp.
func (*System) EncryptionKeyConfigureRotation ¶
func (s *System) EncryptionKeyConfigureRotation(ctx context.Context, request schema.EncryptionKeyConfigureRotationRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
EncryptionKeyConfigureRotation
func (*System) EncryptionKeyReadRotationConfiguration ¶
func (s *System) EncryptionKeyReadRotationConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.EncryptionKeyReadRotationConfigurationResponse], error)
EncryptionKeyReadRotationConfiguration
func (*System) EncryptionKeyRotate ¶
func (s *System) EncryptionKeyRotate(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
EncryptionKeyRotate
func (*System) EncryptionKeyStatus ¶
func (s *System) EncryptionKeyStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
EncryptionKeyStatus Provides information about the backend encryption key.
func (*System) GenerateHash ¶
func (s *System) GenerateHash(ctx context.Context, request schema.GenerateHashRequest, options ...RequestOption) (*Response[schema.GenerateHashResponse], error)
GenerateHash
func (*System) GenerateHashWithAlgorithm ¶
func (s *System) GenerateHashWithAlgorithm(ctx context.Context, urlalgorithm string, request schema.GenerateHashWithAlgorithmRequest, options ...RequestOption) (*Response[schema.GenerateHashWithAlgorithmResponse], error)
GenerateHashWithAlgorithm urlalgorithm: Algorithm to use (POST URL parameter)
func (*System) GenerateRandom ¶
func (s *System) GenerateRandom(ctx context.Context, request schema.GenerateRandomRequest, options ...RequestOption) (*Response[schema.GenerateRandomResponse], error)
GenerateRandom
func (*System) GenerateRandomWithBytes ¶
func (s *System) GenerateRandomWithBytes(ctx context.Context, urlbytes string, request schema.GenerateRandomWithBytesRequest, options ...RequestOption) (*Response[schema.GenerateRandomWithBytesResponse], error)
GenerateRandomWithBytes urlbytes: The number of bytes to generate (POST URL parameter)
func (*System) GenerateRandomWithSource ¶
func (s *System) GenerateRandomWithSource(ctx context.Context, source string, request schema.GenerateRandomWithSourceRequest, options ...RequestOption) (*Response[schema.GenerateRandomWithSourceResponse], error)
GenerateRandomWithSource source: Which system to source random data from, ether \"platform\", \"seal\", or \"all\".
func (*System) GenerateRandomWithSourceAndBytes ¶
func (s *System) GenerateRandomWithSourceAndBytes(ctx context.Context, source string, urlbytes string, request schema.GenerateRandomWithSourceAndBytesRequest, options ...RequestOption) (*Response[schema.GenerateRandomWithSourceAndBytesResponse], error)
GenerateRandomWithSourceAndBytes 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) HaStatus ¶
func (s *System) HaStatus(ctx context.Context, options ...RequestOption) (*Response[schema.HaStatusResponse], error)
HaStatus Check the HA status of a Vault cluster
func (*System) Initialize ¶
func (s *System) Initialize(ctx context.Context, request schema.InitializeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
Initialize 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) InternalClientActivityConfigure ¶
func (s *System) InternalClientActivityConfigure(ctx context.Context, request schema.InternalClientActivityConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
InternalClientActivityConfigure Enable or disable collection of client count, set retention period, or set default reporting period.
func (*System) InternalClientActivityExport ¶
func (s *System) InternalClientActivityExport(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
InternalClientActivityExport Report the client count metrics, for this namespace and all child namespaces.
func (*System) InternalClientActivityReadConfiguration ¶
func (s *System) InternalClientActivityReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
InternalClientActivityReadConfiguration Read the client count tracking configuration.
func (*System) InternalClientActivityReportCounts ¶
func (s *System) InternalClientActivityReportCounts(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
InternalClientActivityReportCounts Report the client count metrics, for this namespace and all child namespaces.
func (*System) InternalClientActivityReportCountsThisMonth ¶
func (s *System) InternalClientActivityReportCountsThisMonth(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
InternalClientActivityReportCountsThisMonth Report the number of clients for this month, for this namespace and all child namespaces.
func (*System) InternalCountEntities ¶
func (s *System) InternalCountEntities(ctx context.Context, options ...RequestOption) (*Response[schema.InternalCountEntitiesResponse], error)
InternalCountEntities Backwards compatibility is not guaranteed for this API
func (*System) InternalCountRequests ¶
func (s *System) InternalCountRequests(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
Deprecated InternalCountRequests Backwards compatibility is not guaranteed for this API
func (*System) InternalCountTokens ¶
func (s *System) InternalCountTokens(ctx context.Context, options ...RequestOption) (*Response[schema.InternalCountTokensResponse], error)
InternalCountTokens Backwards compatibility is not guaranteed for this API
func (*System) InternalGenerateOpenApiDocument ¶
func (s *System) InternalGenerateOpenApiDocument(ctx context.Context, context string, genericMountPaths bool, options ...RequestOption) (*Response[map[string]interface{}], error)
InternalGenerateOpenApiDocument context: Context string appended to every operationId genericMountPaths: Use generic mount paths
func (*System) InternalGenerateOpenApiDocumentWithParameters ¶
func (s *System) InternalGenerateOpenApiDocumentWithParameters(ctx context.Context, request schema.InternalGenerateOpenApiDocumentWithParametersRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
InternalGenerateOpenApiDocumentWithParameters
func (*System) InternalInspectRouter ¶
func (s *System) InternalInspectRouter(ctx context.Context, tag string, options ...RequestOption) (*Response[map[string]interface{}], error)
InternalInspectRouter Expose the route entry and mount entry tables present in the router tag: Name of subtree being observed
func (*System) InternalUiListEnabledFeatureFlags ¶
func (s *System) InternalUiListEnabledFeatureFlags(ctx context.Context, options ...RequestOption) (*Response[schema.InternalUiListEnabledFeatureFlagsResponse], error)
InternalUiListEnabledFeatureFlags Lists enabled feature flags.
func (*System) InternalUiListEnabledVisibleMounts ¶
func (s *System) InternalUiListEnabledVisibleMounts(ctx context.Context, options ...RequestOption) (*Response[schema.InternalUiListEnabledVisibleMountsResponse], error)
InternalUiListEnabledVisibleMounts Lists all enabled and visible auth and secrets mounts.
func (*System) InternalUiListNamespaces ¶
func (s *System) InternalUiListNamespaces(ctx context.Context, options ...RequestOption) (*Response[schema.InternalUiListNamespacesResponse], error)
InternalUiListNamespaces Backwards compatibility is not guaranteed for this API
func (*System) InternalUiReadMountInformation ¶
func (s *System) InternalUiReadMountInformation(ctx context.Context, path string, options ...RequestOption) (*Response[schema.InternalUiReadMountInformationResponse], error)
InternalUiReadMountInformation Return information about the given mount. path: The path of the mount.
func (*System) InternalUiReadResultantAcl ¶
func (s *System) InternalUiReadResultantAcl(ctx context.Context, options ...RequestOption) (*Response[schema.InternalUiReadResultantAclResponse], error)
InternalUiReadResultantAcl Backwards compatibility is not guaranteed for this API
func (*System) LeaderStatus ¶
func (s *System) LeaderStatus(ctx context.Context, options ...RequestOption) (*Response[schema.LeaderStatusResponse], error)
LeaderStatus Returns the high availability status and current leader instance of Vault.
func (*System) LeasesCount ¶
func (s *System) LeasesCount(ctx context.Context, options ...RequestOption) (*Response[schema.LeasesCountResponse], error)
LeasesCount
func (*System) LeasesForceRevokeLeaseWithPrefix ¶
func (s *System) LeasesForceRevokeLeaseWithPrefix(ctx context.Context, prefix string, options ...RequestOption) (*Response[map[string]interface{}], error)
LeasesForceRevokeLeaseWithPrefix 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) LeasesList ¶
func (s *System) LeasesList(ctx context.Context, options ...RequestOption) (*Response[schema.LeasesListResponse], error)
LeasesList
func (*System) LeasesLookUp ¶
func (s *System) LeasesLookUp(ctx context.Context, prefix string, options ...RequestOption) (*Response[schema.LeasesLookUpResponse], error)
LeasesLookUp prefix: The path to list leases under. Example: \"aws/creds/deploy\"
func (*System) LeasesReadLease ¶
func (s *System) LeasesReadLease(ctx context.Context, request schema.LeasesReadLeaseRequest, options ...RequestOption) (*Response[schema.LeasesReadLeaseResponse], error)
LeasesReadLease
func (*System) LeasesRenewLease ¶
func (s *System) LeasesRenewLease(ctx context.Context, request schema.LeasesRenewLeaseRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LeasesRenewLease Renews a lease, requesting to extend the lease.
func (*System) LeasesRenewLeaseWithId ¶
func (s *System) LeasesRenewLeaseWithId(ctx context.Context, urlLeaseId string, request schema.LeasesRenewLeaseWithIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LeasesRenewLeaseWithId Renews a lease, requesting to extend the lease. urlLeaseId: The lease identifier to renew. This is included with a lease.
func (*System) LeasesRevokeLease ¶
func (s *System) LeasesRevokeLease(ctx context.Context, request schema.LeasesRevokeLeaseRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LeasesRevokeLease Revokes a lease immediately.
func (*System) LeasesRevokeLeaseWithId ¶
func (s *System) LeasesRevokeLeaseWithId(ctx context.Context, urlLeaseId string, request schema.LeasesRevokeLeaseWithIdRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LeasesRevokeLeaseWithId Revokes a lease immediately. urlLeaseId: The lease identifier to renew. This is included with a lease.
func (*System) LeasesRevokeLeaseWithPrefix ¶
func (s *System) LeasesRevokeLeaseWithPrefix(ctx context.Context, prefix string, request schema.LeasesRevokeLeaseWithPrefixRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LeasesRevokeLeaseWithPrefix 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) LeasesTidy ¶
func (s *System) LeasesTidy(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LeasesTidy
func (*System) ListExperimentalFeatures ¶
func (s *System) ListExperimentalFeatures(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ListExperimentalFeatures Returns the available and enabled experiments
func (*System) LockedUsersList ¶
func (s *System) LockedUsersList(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LockedUsersList Report the locked user count metrics, for this namespace and all child namespaces.
func (*System) LockedUsersUnlock ¶
func (s *System) LockedUsersUnlock(ctx context.Context, aliasIdentifier string, mountAccessor string, options ...RequestOption) (*Response[map[string]interface{}], error)
LockedUsersUnlock 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) LoggersReadVerbosityLevel ¶
func (s *System) LoggersReadVerbosityLevel(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LoggersReadVerbosityLevel Read the log level for all existing loggers.
func (*System) LoggersReadVerbosityLevelFor ¶
func (s *System) LoggersReadVerbosityLevelFor(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LoggersReadVerbosityLevelFor Read the log level for a single logger. name: The name of the logger to be modified.
func (*System) LoggersRevertVerbosityLevel ¶
func (s *System) LoggersRevertVerbosityLevel(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
LoggersRevertVerbosityLevel Revert the all loggers to use log level provided in config.
func (*System) LoggersRevertVerbosityLevelFor ¶
func (s *System) LoggersRevertVerbosityLevelFor(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
LoggersRevertVerbosityLevelFor Revert a single logger to use log level provided in config. name: The name of the logger to be modified.
func (*System) LoggersUpdateVerbosityLevel ¶
func (s *System) LoggersUpdateVerbosityLevel(ctx context.Context, request schema.LoggersUpdateVerbosityLevelRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LoggersUpdateVerbosityLevel Modify the log level for all existing loggers.
func (*System) LoggersUpdateVerbosityLevelFor ¶
func (s *System) LoggersUpdateVerbosityLevelFor(ctx context.Context, name string, request schema.LoggersUpdateVerbosityLevelForRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
LoggersUpdateVerbosityLevelFor Modify the log level of a single logger. name: The name of the logger to be modified.
func (*System) Metrics ¶
func (s *System) Metrics(ctx context.Context, format string, options ...RequestOption) (*Response[map[string]interface{}], error)
Metrics format: Format to export metrics into. Currently accepts only \"prometheus\".
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) MountsDisableSecretsEngine ¶
func (s *System) MountsDisableSecretsEngine(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
MountsDisableSecretsEngine Disable the mount point specified at the given path. path: The path to mount to. Example: \"aws/east\"
func (*System) MountsEnableSecretsEngine ¶
func (s *System) MountsEnableSecretsEngine(ctx context.Context, path string, request schema.MountsEnableSecretsEngineRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MountsEnableSecretsEngine Enable a new secrets engine at the given path. path: The path to mount to. Example: \"aws/east\"
func (*System) MountsListSecretsEngines ¶
func (s *System) MountsListSecretsEngines(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
MountsListSecretsEngines
func (*System) MountsReadConfiguration ¶
func (s *System) MountsReadConfiguration(ctx context.Context, path string, options ...RequestOption) (*Response[schema.MountsReadConfigurationResponse], error)
MountsReadConfiguration Read the configuration of the secret engine at the given path. path: The path to mount to. Example: \"aws/east\"
func (*System) MountsReadTuningInformation ¶
func (s *System) MountsReadTuningInformation(ctx context.Context, path string, options ...RequestOption) (*Response[schema.MountsReadTuningInformationResponse], error)
MountsReadTuningInformation path: The path to mount to. Example: \"aws/east\"
func (*System) MountsTuneConfigurationParameters ¶
func (s *System) MountsTuneConfigurationParameters(ctx context.Context, path string, request schema.MountsTuneConfigurationParametersRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
MountsTuneConfigurationParameters path: The path to mount to. Example: \"aws/east\"
func (*System) PluginsCatalogListPlugins ¶
func (s *System) PluginsCatalogListPlugins(ctx context.Context, options ...RequestOption) (*Response[schema.PluginsCatalogListPluginsResponse], error)
PluginsCatalogListPlugins
func (*System) PluginsCatalogListPluginsWithType ¶
func (s *System) PluginsCatalogListPluginsWithType(ctx context.Context, type_ string, options ...RequestOption) (*Response[schema.PluginsCatalogListPluginsWithTypeResponse], error)
PluginsCatalogListPluginsWithType List the plugins in the catalog. type_: The type of the plugin, may be auth, secret, or database
func (*System) PluginsCatalogReadPluginConfiguration ¶
func (s *System) PluginsCatalogReadPluginConfiguration(ctx context.Context, name string, options ...RequestOption) (*Response[schema.PluginsCatalogReadPluginConfigurationResponse], error)
PluginsCatalogReadPluginConfiguration Return the configuration data for the plugin with the given name. name: The name of the plugin
func (*System) PluginsCatalogReadPluginConfigurationWithType ¶
func (s *System) PluginsCatalogReadPluginConfigurationWithType(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[schema.PluginsCatalogReadPluginConfigurationWithTypeResponse], error)
PluginsCatalogReadPluginConfigurationWithType 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) PluginsCatalogRegisterPlugin ¶
func (s *System) PluginsCatalogRegisterPlugin(ctx context.Context, name string, request schema.PluginsCatalogRegisterPluginRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PluginsCatalogRegisterPlugin Register a new plugin, or updates an existing one with the supplied name. name: The name of the plugin
func (*System) PluginsCatalogRegisterPluginWithType ¶
func (s *System) PluginsCatalogRegisterPluginWithType(ctx context.Context, name string, type_ string, request schema.PluginsCatalogRegisterPluginWithTypeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PluginsCatalogRegisterPluginWithType 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) PluginsCatalogRemovePlugin ¶
func (s *System) PluginsCatalogRemovePlugin(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
PluginsCatalogRemovePlugin Remove the plugin with the given name. name: The name of the plugin
func (*System) PluginsCatalogRemovePluginWithType ¶
func (s *System) PluginsCatalogRemovePluginWithType(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[map[string]interface{}], error)
PluginsCatalogRemovePluginWithType 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) PluginsReloadBackends ¶
func (s *System) PluginsReloadBackends(ctx context.Context, request schema.PluginsReloadBackendsRequest, options ...RequestOption) (*Response[schema.PluginsReloadBackendsResponse], error)
PluginsReloadBackends 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) PluginsRuntimesCatalogListPluginsRuntimes ¶
func (s *System) PluginsRuntimesCatalogListPluginsRuntimes(ctx context.Context, options ...RequestOption) (*Response[schema.PluginsRuntimesCatalogListPluginsRuntimesResponse], error)
PluginsRuntimesCatalogListPluginsRuntimes
func (*System) PluginsRuntimesCatalogReadPluginRuntimeConfiguration ¶
func (s *System) PluginsRuntimesCatalogReadPluginRuntimeConfiguration(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[schema.PluginsRuntimesCatalogReadPluginRuntimeConfigurationResponse], error)
PluginsRuntimesCatalogReadPluginRuntimeConfiguration Return the configuration data for the plugin runtime with the given name. name: The name of the plugin runtime type_: The type of the plugin runtime
func (*System) PluginsRuntimesCatalogRegisterPluginRuntime ¶
func (s *System) PluginsRuntimesCatalogRegisterPluginRuntime(ctx context.Context, name string, type_ string, request schema.PluginsRuntimesCatalogRegisterPluginRuntimeRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PluginsRuntimesCatalogRegisterPluginRuntime Register a new plugin runtime, or updates an existing one with the supplied name. name: The name of the plugin runtime type_: The type of the plugin runtime
func (*System) PluginsRuntimesCatalogRemovePluginRuntime ¶
func (s *System) PluginsRuntimesCatalogRemovePluginRuntime(ctx context.Context, name string, type_ string, options ...RequestOption) (*Response[map[string]interface{}], error)
PluginsRuntimesCatalogRemovePluginRuntime Remove the plugin runtime with the given name. name: The name of the plugin runtime type_: The type of the plugin runtime
func (*System) PoliciesDeleteAclPolicy ¶
func (s *System) PoliciesDeleteAclPolicy(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
PoliciesDeleteAclPolicy Delete the ACL policy with the given name. name: The name of the policy. Example: \"ops\"
func (*System) PoliciesDeletePasswordPolicy ¶
func (s *System) PoliciesDeletePasswordPolicy(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
PoliciesDeletePasswordPolicy Delete a password policy. name: The name of the password policy.
func (*System) PoliciesGeneratePasswordFromPasswordPolicy ¶
func (s *System) PoliciesGeneratePasswordFromPasswordPolicy(ctx context.Context, name string, options ...RequestOption) (*Response[schema.PoliciesGeneratePasswordFromPasswordPolicyResponse], error)
PoliciesGeneratePasswordFromPasswordPolicy Generate a password from an existing password policy. name: The name of the password policy.
func (*System) PoliciesListAclPolicies ¶
func (s *System) PoliciesListAclPolicies(ctx context.Context, options ...RequestOption) (*Response[schema.PoliciesListAclPoliciesResponse], error)
PoliciesListAclPolicies
func (*System) PoliciesListPasswordPolicies ¶
func (s *System) PoliciesListPasswordPolicies(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
PoliciesListPasswordPolicies List the existing password policies.
func (*System) PoliciesReadAclPolicy ¶
func (s *System) PoliciesReadAclPolicy(ctx context.Context, name string, options ...RequestOption) (*Response[schema.PoliciesReadAclPolicyResponse], error)
PoliciesReadAclPolicy Retrieve information about the named ACL policy. name: The name of the policy. Example: \"ops\"
func (*System) PoliciesReadPasswordPolicy ¶
func (s *System) PoliciesReadPasswordPolicy(ctx context.Context, name string, options ...RequestOption) (*Response[schema.PoliciesReadPasswordPolicyResponse], error)
PoliciesReadPasswordPolicy Retrieve an existing password policy. name: The name of the password policy.
func (*System) PoliciesWriteAclPolicy ¶
func (s *System) PoliciesWriteAclPolicy(ctx context.Context, name string, request schema.PoliciesWriteAclPolicyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PoliciesWriteAclPolicy Add a new or update an existing ACL policy. name: The name of the policy. Example: \"ops\"
func (*System) PoliciesWritePasswordPolicy ¶
func (s *System) PoliciesWritePasswordPolicy(ctx context.Context, name string, request schema.PoliciesWritePasswordPolicyRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
PoliciesWritePasswordPolicy Add a new or update an existing password policy. name: The name of the password policy.
func (*System) PprofBlocking ¶
func (s *System) PprofBlocking(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofBlocking Returns stack traces that led to blocking on synchronization primitives Returns stack traces that led to blocking on synchronization primitives
func (*System) PprofCommandLine ¶
func (s *System) PprofCommandLine(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofCommandLine Returns the running program's command line. Returns the running program's command line, with arguments separated by NUL bytes.
func (*System) PprofCpuProfile ¶
func (s *System) PprofCpuProfile(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofCpuProfile 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) PprofExecutionTrace ¶
func (s *System) PprofExecutionTrace(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofExecutionTrace 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) PprofGoroutines ¶
func (s *System) PprofGoroutines(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofGoroutines Returns stack traces of all current goroutines. Returns stack traces of all current goroutines.
func (*System) PprofIndex ¶
func (s *System) PprofIndex(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofIndex 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) PprofMemoryAllocations ¶
func (s *System) PprofMemoryAllocations(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofMemoryAllocations Returns a sampling of all past memory allocations. Returns a sampling of all past memory allocations.
func (*System) PprofMemoryAllocationsLive ¶
func (s *System) PprofMemoryAllocationsLive(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofMemoryAllocationsLive Returns a sampling of memory allocations of live object. Returns a sampling of memory allocations of live object.
func (*System) PprofMutexes ¶
func (s *System) PprofMutexes(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofMutexes Returns stack traces of holders of contended mutexes Returns stack traces of holders of contended mutexes
func (*System) PprofSymbols ¶
func (s *System) PprofSymbols(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofSymbols Returns the program counters listed in the request. Returns the program counters listed in the request.
func (*System) PprofThreadCreations ¶
func (s *System) PprofThreadCreations(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
PprofThreadCreations 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) QueryTokenAccessorCapabilities ¶
func (s *System) QueryTokenAccessorCapabilities(ctx context.Context, request schema.QueryTokenAccessorCapabilitiesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
QueryTokenAccessorCapabilities
func (*System) QueryTokenCapabilities ¶
func (s *System) QueryTokenCapabilities(ctx context.Context, request schema.QueryTokenCapabilitiesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
QueryTokenCapabilities
func (*System) QueryTokenSelfCapabilities ¶
func (s *System) QueryTokenSelfCapabilities(ctx context.Context, request schema.QueryTokenSelfCapabilitiesRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
QueryTokenSelfCapabilities
func (*System) RateLimitQuotasConfigure ¶
func (s *System) RateLimitQuotasConfigure(ctx context.Context, request schema.RateLimitQuotasConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RateLimitQuotasConfigure
func (*System) RateLimitQuotasDelete ¶
func (s *System) RateLimitQuotasDelete(ctx context.Context, name string, options ...RequestOption) (*Response[map[string]interface{}], error)
RateLimitQuotasDelete name: Name of the quota rule.
func (*System) RateLimitQuotasList ¶
func (s *System) RateLimitQuotasList(ctx context.Context, options ...RequestOption) (*Response[schema.StandardListResponse], error)
RateLimitQuotasList
func (*System) RateLimitQuotasRead ¶
func (s *System) RateLimitQuotasRead(ctx context.Context, name string, options ...RequestOption) (*Response[schema.RateLimitQuotasReadResponse], error)
RateLimitQuotasRead name: Name of the quota rule.
func (*System) RateLimitQuotasReadConfiguration ¶
func (s *System) RateLimitQuotasReadConfiguration(ctx context.Context, options ...RequestOption) (*Response[schema.RateLimitQuotasReadConfigurationResponse], error)
RateLimitQuotasReadConfiguration
func (*System) RateLimitQuotasWrite ¶
func (s *System) RateLimitQuotasWrite(ctx context.Context, name string, request schema.RateLimitQuotasWriteRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RateLimitQuotasWrite name: Name of the quota rule.
func (*System) RawDelete ¶
func (s *System) RawDelete(ctx context.Context, path string, options ...RequestOption) (*Response[map[string]interface{}], error)
RawDelete Delete the key with given path.
func (*System) RawList ¶
func (s *System) RawList(ctx context.Context, path string, options ...RequestOption) (*Response[schema.StandardListResponse], error)
RawList Return a list keys for a given path prefix.
func (*System) RawRead ¶
func (s *System) RawRead(ctx context.Context, path string, options ...RequestOption) (*Response[schema.RawReadResponse], error)
RawRead Read the value of the key at the given path.
func (*System) RawWrite ¶
func (s *System) RawWrite(ctx context.Context, path string, request schema.RawWriteRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
RawWrite Update the value of the key at the given path.
func (*System) ReadHealthStatus ¶
func (s *System) ReadHealthStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadHealthStatus Returns the health status of Vault.
func (*System) ReadInitializationStatus ¶
func (s *System) ReadInitializationStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadInitializationStatus Returns the initialization status of Vault.
func (*System) ReadReplicationStatus ¶
func (s *System) ReadReplicationStatus(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadReplicationStatus
func (*System) ReadSanitizedConfigurationState ¶
func (s *System) ReadSanitizedConfigurationState(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
ReadSanitizedConfigurationState 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) ReadWrappingProperties ¶
func (s *System) ReadWrappingProperties(ctx context.Context, request schema.ReadWrappingPropertiesRequest, options ...RequestOption) (*Response[schema.ReadWrappingPropertiesResponse], error)
ReadWrappingProperties Look up wrapping properties for the given token.
func (*System) RekeyAttemptCancel ¶
func (s *System) RekeyAttemptCancel(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
RekeyAttemptCancel 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) RekeyAttemptInitialize ¶
func (s *System) RekeyAttemptInitialize(ctx context.Context, request schema.RekeyAttemptInitializeRequest, options ...RequestOption) (*Response[schema.RekeyAttemptInitializeResponse], error)
RekeyAttemptInitialize 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) RekeyAttemptReadProgress ¶
func (s *System) RekeyAttemptReadProgress(ctx context.Context, options ...RequestOption) (*Response[schema.RekeyAttemptReadProgressResponse], error)
RekeyAttemptReadProgress Reads the configuration and progress of the current rekey attempt.
func (*System) RekeyAttemptUpdate ¶
func (s *System) RekeyAttemptUpdate(ctx context.Context, request schema.RekeyAttemptUpdateRequest, options ...RequestOption) (*Response[schema.RekeyAttemptUpdateResponse], error)
RekeyAttemptUpdate Enter a single unseal key share to progress the rekey of the Vault.
func (*System) RekeyDeleteBackupKey ¶
func (s *System) RekeyDeleteBackupKey(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
RekeyDeleteBackupKey Delete the backup copy of PGP-encrypted unseal keys.
func (*System) RekeyDeleteBackupRecoveryKey ¶
func (s *System) RekeyDeleteBackupRecoveryKey(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
RekeyDeleteBackupRecoveryKey
func (*System) RekeyReadBackupKey ¶
func (s *System) RekeyReadBackupKey(ctx context.Context, options ...RequestOption) (*Response[schema.RekeyReadBackupKeyResponse], error)
RekeyReadBackupKey Return the backup copy of PGP-encrypted unseal keys.
func (*System) RekeyReadBackupRecoveryKey ¶
func (s *System) RekeyReadBackupRecoveryKey(ctx context.Context, options ...RequestOption) (*Response[schema.RekeyReadBackupRecoveryKeyResponse], error)
RekeyReadBackupRecoveryKey
func (*System) RekeyVerificationCancel ¶
func (s *System) RekeyVerificationCancel(ctx context.Context, options ...RequestOption) (*Response[schema.RekeyVerificationCancelResponse], error)
RekeyVerificationCancel 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) RekeyVerificationReadProgress ¶
func (s *System) RekeyVerificationReadProgress(ctx context.Context, options ...RequestOption) (*Response[schema.RekeyVerificationReadProgressResponse], error)
RekeyVerificationReadProgress Read the configuration and progress of the current rekey verification attempt.
func (*System) RekeyVerificationUpdate ¶
func (s *System) RekeyVerificationUpdate(ctx context.Context, request schema.RekeyVerificationUpdateRequest, options ...RequestOption) (*Response[schema.RekeyVerificationUpdateResponse], error)
RekeyVerificationUpdate Enter a single new key share to progress the rekey verification operation.
func (*System) ReloadSubsystem ¶
func (s *System) ReloadSubsystem(ctx context.Context, subsystem string, options ...RequestOption) (*Response[map[string]interface{}], error)
ReloadSubsystem Reload the given subsystem
func (*System) Remount ¶
func (s *System) Remount(ctx context.Context, request schema.RemountRequest, options ...RequestOption) (*Response[schema.RemountResponse], error)
Remount Initiate a mount migration
func (*System) RemountStatus ¶
func (s *System) RemountStatus(ctx context.Context, migrationId string, options ...RequestOption) (*Response[schema.RemountStatusResponse], error)
RemountStatus Check status of a mount migration migrationId: The ID of the migration operation
func (*System) Rewrap ¶
func (s *System) Rewrap(ctx context.Context, request schema.RewrapRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
Rewrap
func (*System) RootTokenGenerationCancel ¶
func (s *System) RootTokenGenerationCancel(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
RootTokenGenerationCancel Cancels any in-progress root generation attempt.
func (*System) RootTokenGenerationInitialize ¶
func (s *System) RootTokenGenerationInitialize(ctx context.Context, request schema.RootTokenGenerationInitializeRequest, options ...RequestOption) (*Response[schema.RootTokenGenerationInitializeResponse], error)
RootTokenGenerationInitialize 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) RootTokenGenerationReadProgress ¶
func (s *System) RootTokenGenerationReadProgress(ctx context.Context, options ...RequestOption) (*Response[schema.RootTokenGenerationReadProgressResponse], error)
RootTokenGenerationReadProgress Read the configuration and progress of the current root generation attempt.
func (*System) RootTokenGenerationUpdate ¶
func (s *System) RootTokenGenerationUpdate(ctx context.Context, request schema.RootTokenGenerationUpdateRequest, options ...RequestOption) (*Response[schema.RootTokenGenerationUpdateResponse], error)
RootTokenGenerationUpdate 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) Seal ¶
func (s *System) Seal(ctx context.Context, options ...RequestOption) (*Response[map[string]interface{}], error)
Seal Seal the Vault.
func (*System) SealStatus ¶
func (s *System) SealStatus(ctx context.Context, options ...RequestOption) (*Response[schema.SealStatusResponse], error)
SealStatus Check the seal status of a 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) UiHeadersConfigure ¶
func (s *System) UiHeadersConfigure(ctx context.Context, header string, request schema.UiHeadersConfigureRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
UiHeadersConfigure Configure the values to be returned for the UI header. header: The name of the header.
func (*System) UiHeadersDeleteConfiguration ¶
func (s *System) UiHeadersDeleteConfiguration(ctx context.Context, header string, options ...RequestOption) (*Response[map[string]interface{}], error)
UiHeadersDeleteConfiguration Remove a UI header. header: The name of the header.
func (*System) UiHeadersList ¶
func (s *System) UiHeadersList(ctx context.Context, options ...RequestOption) (*Response[schema.UiHeadersListResponse], error)
UiHeadersList Return a list of configured UI headers.
func (*System) UiHeadersReadConfiguration ¶
func (s *System) UiHeadersReadConfiguration(ctx context.Context, header string, options ...RequestOption) (*Response[schema.UiHeadersReadConfigurationResponse], error)
UiHeadersReadConfiguration Return the given UI header's configuration header: The name of the header.
func (*System) Unseal ¶
func (s *System) Unseal(ctx context.Context, request schema.UnsealRequest, options ...RequestOption) (*Response[schema.UnsealResponse], error)
Unseal Unseal the Vault.
func (*System) Unwrap ¶
func (s *System) Unwrap(ctx context.Context, request schema.UnwrapRequest, options ...RequestOption) (*Response[map[string]interface{}], error)
Unwrap
func (*System) VersionHistory ¶
func (s *System) VersionHistory(ctx context.Context, options ...RequestOption) (*Response[schema.VersionHistoryResponse], error)
VersionHistory Returns map of historical version change entries
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.