Documentation
¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, request *management.CreateEncryptionKeyRequestContent, ...) (*management.CreateEncryptionKeyResponseContent, error)
- func (c *Client) CreatePublicWrappingKey(ctx context.Context, kid string, opts ...option.RequestOption) (*management.CreateEncryptionKeyPublicWrappingResponseContent, error)
- func (c *Client) Delete(ctx context.Context, kid string, opts ...option.RequestOption) error
- func (c *Client) Get(ctx context.Context, kid string, opts ...option.RequestOption) (*management.GetEncryptionKeyResponseContent, error)
- func (c *Client) Import(ctx context.Context, kid string, ...) (*management.ImportEncryptionKeyResponseContent, error)
- func (c *Client) List(ctx context.Context, request *management.ListEncryptionKeysRequestParameters, ...) (*core.Page[*management.EncryptionKey], error)
- func (c *Client) Rekey(ctx context.Context, opts ...option.RequestOption) error
- type RawClient
- func (r *RawClient) Create(ctx context.Context, request *management.CreateEncryptionKeyRequestContent, ...) (*core.Response[*management.CreateEncryptionKeyResponseContent], error)
- func (r *RawClient) CreatePublicWrappingKey(ctx context.Context, kid string, opts ...option.RequestOption) (*core.Response[*management.CreateEncryptionKeyPublicWrappingResponseContent], ...)
- func (r *RawClient) Delete(ctx context.Context, kid string, opts ...option.RequestOption) (*core.Response[any], error)
- func (r *RawClient) Get(ctx context.Context, kid string, opts ...option.RequestOption) (*core.Response[*management.GetEncryptionKeyResponseContent], error)
- func (r *RawClient) Import(ctx context.Context, kid string, ...) (*core.Response[*management.ImportEncryptionKeyResponseContent], error)
- func (r *RawClient) Rekey(ctx context.Context, opts ...option.RequestOption) (*core.Response[any], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
WithRawResponse *RawClient
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(options *core.RequestOptions) *Client
func (*Client) Create ¶
func (c *Client) Create( ctx context.Context, request *management.CreateEncryptionKeyRequestContent, opts ...option.RequestOption, ) (*management.CreateEncryptionKeyResponseContent, error)
Create the new, pre-activated encryption key, without the key material.
func (*Client) CreatePublicWrappingKey ¶
func (c *Client) CreatePublicWrappingKey( ctx context.Context, kid string, opts ...option.RequestOption, ) (*management.CreateEncryptionKeyPublicWrappingResponseContent, error)
Create the public wrapping key to wrap your own encryption key material.
func (*Client) Delete ¶
Delete the custom provided encryption key with the given ID and move back to using native encryption key.
func (*Client) Get ¶
func (c *Client) Get( ctx context.Context, kid string, opts ...option.RequestOption, ) (*management.GetEncryptionKeyResponseContent, error)
Retrieve details of the encryption key with the given ID.
func (*Client) Import ¶
func (c *Client) Import( ctx context.Context, kid string, request *management.ImportEncryptionKeyRequestContent, opts ...option.RequestOption, ) (*management.ImportEncryptionKeyResponseContent, error)
Import wrapped key material and activate encryption key.
func (*Client) List ¶
func (c *Client) List( ctx context.Context, request *management.ListEncryptionKeysRequestParameters, opts ...option.RequestOption, ) (*core.Page[*management.EncryptionKey], error)
Retrieve details of all the encryption keys associated with your tenant.
type RawClient ¶
type RawClient struct {
// contains filtered or unexported fields
}
func NewRawClient ¶
func NewRawClient(options *core.RequestOptions) *RawClient
func (*RawClient) Create ¶
func (r *RawClient) Create( ctx context.Context, request *management.CreateEncryptionKeyRequestContent, opts ...option.RequestOption, ) (*core.Response[*management.CreateEncryptionKeyResponseContent], error)
func (*RawClient) CreatePublicWrappingKey ¶
func (r *RawClient) CreatePublicWrappingKey( ctx context.Context, kid string, opts ...option.RequestOption, ) (*core.Response[*management.CreateEncryptionKeyPublicWrappingResponseContent], error)
func (*RawClient) Get ¶
func (r *RawClient) Get( ctx context.Context, kid string, opts ...option.RequestOption, ) (*core.Response[*management.GetEncryptionKeyResponseContent], error)
func (*RawClient) Import ¶
func (r *RawClient) Import( ctx context.Context, kid string, request *management.ImportEncryptionKeyRequestContent, opts ...option.RequestOption, ) (*core.Response[*management.ImportEncryptionKeyResponseContent], error)
Click to show internal directories.
Click to hide internal directories.