Versions in this module Expand all Collapse all v55 v55.1.0 Jan 18, 2022 v55.0.0 Jan 11, 2022 Changes in this version + type Base64SecretContentDetails struct + Content *string + Name *string + Stage SecretContentDetailsStageEnum + func (m Base64SecretContentDetails) GetName() *string + func (m Base64SecretContentDetails) GetStage() SecretContentDetailsStageEnum + func (m Base64SecretContentDetails) MarshalJSON() (buff []byte, e error) + func (m Base64SecretContentDetails) String() string + type CancelSecretDeletionRequest struct + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + SecretId *string + func (request CancelSecretDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request CancelSecretDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request CancelSecretDeletionRequest) RetryPolicy() *common.RetryPolicy + func (request CancelSecretDeletionRequest) String() string + type CancelSecretDeletionResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response CancelSecretDeletionResponse) HTTPResponse() *http.Response + func (response CancelSecretDeletionResponse) String() string + type CancelSecretVersionDeletionRequest struct + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + SecretId *string + SecretVersionNumber *int64 + func (request CancelSecretVersionDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request CancelSecretVersionDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request CancelSecretVersionDeletionRequest) RetryPolicy() *common.RetryPolicy + func (request CancelSecretVersionDeletionRequest) String() string + type CancelSecretVersionDeletionResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response CancelSecretVersionDeletionResponse) HTTPResponse() *http.Response + func (response CancelSecretVersionDeletionResponse) String() string + type ChangeSecretCompartmentDetails struct + CompartmentId *string + func (m ChangeSecretCompartmentDetails) String() string + type ChangeSecretCompartmentRequest struct + IfMatch *string + OpcRequestId *string + OpcRetryToken *string + RequestMetadata common.RequestMetadata + SecretId *string + func (request ChangeSecretCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request ChangeSecretCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request ChangeSecretCompartmentRequest) RetryPolicy() *common.RetryPolicy + func (request ChangeSecretCompartmentRequest) String() string + type ChangeSecretCompartmentResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response ChangeSecretCompartmentResponse) HTTPResponse() *http.Response + func (response ChangeSecretCompartmentResponse) String() string + type CreateSecretDetails struct + CompartmentId *string + DefinedTags map[string]map[string]interface{} + Description *string + FreeformTags map[string]string + KeyId *string + Metadata map[string]interface{} + SecretContent SecretContentDetails + SecretName *string + SecretRules []SecretRule + VaultId *string + func (m *CreateSecretDetails) UnmarshalJSON(data []byte) (e error) + func (m CreateSecretDetails) String() string + type CreateSecretRequest struct + OpcRequestId *string + OpcRetryToken *string + RequestMetadata common.RequestMetadata + func (request CreateSecretRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request CreateSecretRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request CreateSecretRequest) RetryPolicy() *common.RetryPolicy + func (request CreateSecretRequest) String() string + type CreateSecretResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response CreateSecretResponse) HTTPResponse() *http.Response + func (response CreateSecretResponse) String() string + type GetSecretRequest struct + OpcRequestId *string + RequestMetadata common.RequestMetadata + SecretId *string + func (request GetSecretRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request GetSecretRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request GetSecretRequest) RetryPolicy() *common.RetryPolicy + func (request GetSecretRequest) String() string + type GetSecretResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response GetSecretResponse) HTTPResponse() *http.Response + func (response GetSecretResponse) String() string + type GetSecretVersionRequest struct + OpcRequestId *string + RequestMetadata common.RequestMetadata + SecretId *string + SecretVersionNumber *int64 + func (request GetSecretVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request GetSecretVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request GetSecretVersionRequest) RetryPolicy() *common.RetryPolicy + func (request GetSecretVersionRequest) String() string + type GetSecretVersionResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response GetSecretVersionResponse) HTTPResponse() *http.Response + func (response GetSecretVersionResponse) String() string + type ListSecretVersionsRequest struct + Limit *int + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + SecretId *string + SortBy ListSecretVersionsSortByEnum + SortOrder ListSecretVersionsSortOrderEnum + func (request ListSecretVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request ListSecretVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request ListSecretVersionsRequest) RetryPolicy() *common.RetryPolicy + func (request ListSecretVersionsRequest) String() string + type ListSecretVersionsResponse struct + Items []SecretVersionSummary + OpcNextPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListSecretVersionsResponse) HTTPResponse() *http.Response + func (response ListSecretVersionsResponse) String() string + type ListSecretVersionsSortByEnum string + const ListSecretVersionsSortByVersionNumber + func GetListSecretVersionsSortByEnumValues() []ListSecretVersionsSortByEnum + type ListSecretVersionsSortOrderEnum string + const ListSecretVersionsSortOrderAsc + const ListSecretVersionsSortOrderDesc + func GetListSecretVersionsSortOrderEnumValues() []ListSecretVersionsSortOrderEnum + type ListSecretsRequest struct + CompartmentId *string + LifecycleState SecretSummaryLifecycleStateEnum + Limit *int + Name *string + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + SortBy ListSecretsSortByEnum + SortOrder ListSecretsSortOrderEnum + VaultId *string + func (request ListSecretsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request ListSecretsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request ListSecretsRequest) RetryPolicy() *common.RetryPolicy + func (request ListSecretsRequest) String() string + type ListSecretsResponse struct + Items []SecretSummary + OpcNextPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListSecretsResponse) HTTPResponse() *http.Response + func (response ListSecretsResponse) String() string + type ListSecretsSortByEnum string + const ListSecretsSortByName + const ListSecretsSortByTimecreated + func GetListSecretsSortByEnumValues() []ListSecretsSortByEnum + type ListSecretsSortOrderEnum string + const ListSecretsSortOrderAsc + const ListSecretsSortOrderDesc + func GetListSecretsSortOrderEnumValues() []ListSecretsSortOrderEnum + type ScheduleSecretDeletionDetails struct + TimeOfDeletion *common.SDKTime + func (m ScheduleSecretDeletionDetails) String() string + type ScheduleSecretDeletionRequest struct + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + SecretId *string + func (request ScheduleSecretDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request ScheduleSecretDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request ScheduleSecretDeletionRequest) RetryPolicy() *common.RetryPolicy + func (request ScheduleSecretDeletionRequest) String() string + type ScheduleSecretDeletionResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response ScheduleSecretDeletionResponse) HTTPResponse() *http.Response + func (response ScheduleSecretDeletionResponse) String() string + type ScheduleSecretVersionDeletionDetails struct + TimeOfDeletion *common.SDKTime + func (m ScheduleSecretVersionDeletionDetails) String() string + type ScheduleSecretVersionDeletionRequest struct + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + SecretId *string + SecretVersionNumber *int64 + func (request ScheduleSecretVersionDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request ScheduleSecretVersionDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request ScheduleSecretVersionDeletionRequest) RetryPolicy() *common.RetryPolicy + func (request ScheduleSecretVersionDeletionRequest) String() string + type ScheduleSecretVersionDeletionResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response ScheduleSecretVersionDeletionResponse) HTTPResponse() *http.Response + func (response ScheduleSecretVersionDeletionResponse) String() string + type Secret struct + CompartmentId *string + CurrentVersionNumber *int64 + DefinedTags map[string]map[string]interface{} + Description *string + FreeformTags map[string]string + Id *string + KeyId *string + LifecycleDetails *string + LifecycleState SecretLifecycleStateEnum + Metadata map[string]interface{} + SecretName *string + SecretRules []SecretRule + TimeCreated *common.SDKTime + TimeOfCurrentVersionExpiry *common.SDKTime + TimeOfDeletion *common.SDKTime + VaultId *string + func (m *Secret) UnmarshalJSON(data []byte) (e error) + func (m Secret) String() string + type SecretContentDetails interface + GetName func() *string + GetStage func() SecretContentDetailsStageEnum + type SecretContentDetailsContentTypeEnum string + const SecretContentDetailsContentTypeBase64 + func GetSecretContentDetailsContentTypeEnumValues() []SecretContentDetailsContentTypeEnum + type SecretContentDetailsStageEnum string + const SecretContentDetailsStageCurrent + const SecretContentDetailsStagePending + func GetSecretContentDetailsStageEnumValues() []SecretContentDetailsStageEnum + type SecretExpiryRule struct + IsSecretContentRetrievalBlockedOnExpiry *bool + SecretVersionExpiryInterval *string + TimeOfAbsoluteExpiry *common.SDKTime + func (m SecretExpiryRule) MarshalJSON() (buff []byte, e error) + func (m SecretExpiryRule) String() string + type SecretLifecycleStateEnum string + const SecretLifecycleStateActive + const SecretLifecycleStateCancellingDeletion + const SecretLifecycleStateCreating + const SecretLifecycleStateDeleted + const SecretLifecycleStateDeleting + const SecretLifecycleStateFailed + const SecretLifecycleStatePendingDeletion + const SecretLifecycleStateSchedulingDeletion + const SecretLifecycleStateUpdating + func GetSecretLifecycleStateEnumValues() []SecretLifecycleStateEnum + type SecretReuseRule struct + IsEnforcedOnDeletedSecretVersions *bool + func (m SecretReuseRule) MarshalJSON() (buff []byte, e error) + func (m SecretReuseRule) String() string + type SecretRule interface + type SecretRuleRuleTypeEnum string + const SecretRuleRuleTypeExpiryRule + const SecretRuleRuleTypeReuseRule + func GetSecretRuleRuleTypeEnumValues() []SecretRuleRuleTypeEnum + type SecretSummary struct + CompartmentId *string + DefinedTags map[string]map[string]interface{} + Description *string + FreeformTags map[string]string + Id *string + KeyId *string + LifecycleDetails *string + LifecycleState SecretSummaryLifecycleStateEnum + SecretName *string + TimeCreated *common.SDKTime + TimeOfCurrentVersionExpiry *common.SDKTime + TimeOfDeletion *common.SDKTime + VaultId *string + func (m SecretSummary) String() string + type SecretSummaryLifecycleStateEnum string + const SecretSummaryLifecycleStateActive + const SecretSummaryLifecycleStateCancellingDeletion + const SecretSummaryLifecycleStateCreating + const SecretSummaryLifecycleStateDeleted + const SecretSummaryLifecycleStateDeleting + const SecretSummaryLifecycleStateFailed + const SecretSummaryLifecycleStatePendingDeletion + const SecretSummaryLifecycleStateSchedulingDeletion + const SecretSummaryLifecycleStateUpdating + func GetSecretSummaryLifecycleStateEnumValues() []SecretSummaryLifecycleStateEnum + type SecretVersion struct + ContentType SecretVersionContentTypeEnum + Name *string + SecretId *string + Stages []SecretVersionStagesEnum + TimeCreated *common.SDKTime + TimeOfCurrentVersionExpiry *common.SDKTime + TimeOfDeletion *common.SDKTime + VersionNumber *int64 + func (m SecretVersion) String() string + type SecretVersionContentTypeEnum string + const SecretVersionContentTypeBase64 + func GetSecretVersionContentTypeEnumValues() []SecretVersionContentTypeEnum + type SecretVersionStagesEnum string + const SecretVersionStagesCurrent + const SecretVersionStagesDeprecated + const SecretVersionStagesLatest + const SecretVersionStagesPending + const SecretVersionStagesPrevious + func GetSecretVersionStagesEnumValues() []SecretVersionStagesEnum + type SecretVersionSummary struct + ContentType SecretVersionSummaryContentTypeEnum + Name *string + SecretId *string + Stages []SecretVersionSummaryStagesEnum + TimeCreated *common.SDKTime + TimeOfDeletion *common.SDKTime + TimeOfExpiry *common.SDKTime + VersionNumber *int64 + func (m SecretVersionSummary) String() string + type SecretVersionSummaryContentTypeEnum string + const SecretVersionSummaryContentTypeBase64 + func GetSecretVersionSummaryContentTypeEnumValues() []SecretVersionSummaryContentTypeEnum + type SecretVersionSummaryStagesEnum string + const SecretVersionSummaryStagesCurrent + const SecretVersionSummaryStagesDeprecated + const SecretVersionSummaryStagesLatest + const SecretVersionSummaryStagesPending + const SecretVersionSummaryStagesPrevious + func GetSecretVersionSummaryStagesEnumValues() []SecretVersionSummaryStagesEnum + type UpdateSecretDetails struct + CurrentVersionNumber *int64 + DefinedTags map[string]map[string]interface{} + Description *string + FreeformTags map[string]string + Metadata map[string]interface{} + SecretContent SecretContentDetails + SecretRules []SecretRule + func (m *UpdateSecretDetails) UnmarshalJSON(data []byte) (e error) + func (m UpdateSecretDetails) String() string + type UpdateSecretRequest struct + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + SecretId *string + func (request UpdateSecretRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request UpdateSecretRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request UpdateSecretRequest) RetryPolicy() *common.RetryPolicy + func (request UpdateSecretRequest) String() string + type UpdateSecretResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response UpdateSecretResponse) HTTPResponse() *http.Response + func (response UpdateSecretResponse) String() string + type VaultsClient struct + func NewVaultsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client VaultsClient, err error) + func NewVaultsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client VaultsClient, err error) + func (client *VaultsClient) ConfigurationProvider() *common.ConfigurationProvider + func (client *VaultsClient) SetRegion(region string) + func (client VaultsClient) CancelSecretDeletion(ctx context.Context, request CancelSecretDeletionRequest) (response CancelSecretDeletionResponse, err error) + func (client VaultsClient) CancelSecretVersionDeletion(ctx context.Context, request CancelSecretVersionDeletionRequest) (response CancelSecretVersionDeletionResponse, err error) + func (client VaultsClient) ChangeSecretCompartment(ctx context.Context, request ChangeSecretCompartmentRequest) (response ChangeSecretCompartmentResponse, err error) + func (client VaultsClient) CreateSecret(ctx context.Context, request CreateSecretRequest) (response CreateSecretResponse, err error) + func (client VaultsClient) GetSecret(ctx context.Context, request GetSecretRequest) (response GetSecretResponse, err error) + func (client VaultsClient) GetSecretVersion(ctx context.Context, request GetSecretVersionRequest) (response GetSecretVersionResponse, err error) + func (client VaultsClient) ListSecretVersions(ctx context.Context, request ListSecretVersionsRequest) (response ListSecretVersionsResponse, err error) + func (client VaultsClient) ListSecrets(ctx context.Context, request ListSecretsRequest) (response ListSecretsResponse, err error) + func (client VaultsClient) ScheduleSecretDeletion(ctx context.Context, request ScheduleSecretDeletionRequest) (response ScheduleSecretDeletionResponse, err error) + func (client VaultsClient) ScheduleSecretVersionDeletion(ctx context.Context, request ScheduleSecretVersionDeletionRequest) (response ScheduleSecretVersionDeletionResponse, err error) + func (client VaultsClient) UpdateSecret(ctx context.Context, request UpdateSecretRequest) (response UpdateSecretResponse, err error) Other modules containing this package github.com/oracle/oci-go-sdk github.com/oracle/oci-go-sdk/v25 github.com/oracle/oci-go-sdk/v26 github.com/oracle/oci-go-sdk/v27 github.com/oracle/oci-go-sdk/v28 github.com/oracle/oci-go-sdk/v29 github.com/oracle/oci-go-sdk/v30 github.com/oracle/oci-go-sdk/v31 github.com/oracle/oci-go-sdk/v32 github.com/oracle/oci-go-sdk/v33 github.com/oracle/oci-go-sdk/v34 github.com/oracle/oci-go-sdk/v35 github.com/oracle/oci-go-sdk/v36 github.com/oracle/oci-go-sdk/v37 github.com/oracle/oci-go-sdk/v38 github.com/oracle/oci-go-sdk/v39 github.com/oracle/oci-go-sdk/v40 github.com/oracle/oci-go-sdk/v41 github.com/oracle/oci-go-sdk/v42 github.com/oracle/oci-go-sdk/v43 github.com/oracle/oci-go-sdk/v44 github.com/oracle/oci-go-sdk/v45 github.com/oracle/oci-go-sdk/v46 github.com/oracle/oci-go-sdk/v47 github.com/oracle/oci-go-sdk/v48 github.com/oracle/oci-go-sdk/v49 github.com/oracle/oci-go-sdk/v50 github.com/oracle/oci-go-sdk/v51 github.com/oracle/oci-go-sdk/v52 github.com/oracle/oci-go-sdk/v53 github.com/oracle/oci-go-sdk/v54 github.com/oracle/oci-go-sdk/v56 github.com/oracle/oci-go-sdk/v57 github.com/oracle/oci-go-sdk/v58 github.com/oracle/oci-go-sdk/v59 github.com/oracle/oci-go-sdk/v60 github.com/oracle/oci-go-sdk/v61 github.com/oracle/oci-go-sdk/v62 github.com/oracle/oci-go-sdk/v63 github.com/oracle/oci-go-sdk/v64 github.com/oracle/oci-go-sdk/v65