Documentation ¶
Index ¶
- type Client
- func (az *Client) DeleteResourceGroup(ctx context.Context, groupName string) error
- func (az *Client) EnsureResourceGroup(ctx context.Context, name, location string, managedBy *string) (resourceGroup *resources.ResourceGroup, err error)
- func (az *Client) GetAccountNumByResourceGroup(ctx context.Context, groupName string) (count int, err error)
- type KeyVaultClient
- func (kvc *KeyVaultClient) CleanVault(ctx context.Context) error
- func (kvc *KeyVaultClient) CreateSecret(ctx context.Context, secretName, secretValue string) (*armkeyvault.Secret, error)
- func (kvc *KeyVaultClient) CreateVault(ctx context.Context) (*armkeyvault.Vault, error)
- func (kvc *KeyVaultClient) GetMSIObjectID(ctx context.Context, identityName string) (string, error)
- func (kvc *KeyVaultClient) GetMSIResourceID(ctx context.Context, identityName string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteResourceGroup ¶
func (*Client) EnsureResourceGroup ¶
type KeyVaultClient ¶ added in v1.16.0
type KeyVaultClient struct { Cred *credentials.Credentials // contains filtered or unexported fields }
func NewKeyVaultClient ¶ added in v1.16.0
func NewKeyVaultClient() (*KeyVaultClient, error)
func (*KeyVaultClient) CleanVault ¶ added in v1.16.0
func (kvc *KeyVaultClient) CleanVault(ctx context.Context) error
func (*KeyVaultClient) CreateSecret ¶ added in v1.16.0
func (kvc *KeyVaultClient) CreateSecret(ctx context.Context, secretName, secretValue string) (*armkeyvault.Secret, error)
func (*KeyVaultClient) CreateVault ¶ added in v1.16.0
func (kvc *KeyVaultClient) CreateVault(ctx context.Context) (*armkeyvault.Vault, error)
func (*KeyVaultClient) GetMSIObjectID ¶ added in v1.16.0
func (*KeyVaultClient) GetMSIResourceID ¶ added in v1.17.0
Click to show internal directories.
Click to hide internal directories.