identity

package
v0.10.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdentityClient

type IdentityClient struct {
	security.BaseClient
	// contains filtered or unexported fields
}

Client structure

func NewIdentityClient

func NewIdentityClient(cloudFQDN string, authorizer auth.Authorizer) (*IdentityClient, error)

NewClient method returns new client

func (*IdentityClient) CreateCertificate added in v0.10.8

func (c *IdentityClient) CreateCertificate(ctx context.Context, group, name string, csr []*security.CertificateRequest) ([]*security.Certificate, string, error)

CreateCertificate methods invokes creates client certificate for the identity

func (*IdentityClient) CreateOrUpdate

func (c *IdentityClient) CreateOrUpdate(ctx context.Context, group, name string, identity *security.Identity) (*security.Identity, error)

CreateOrUpdate methods invokes create or update on the client

func (*IdentityClient) Delete

func (c *IdentityClient) Delete(ctx context.Context, group, name string) error

Delete methods invokes delete of the Identity resource

func (*IdentityClient) Get

func (c *IdentityClient) Get(ctx context.Context, group, name string) (*[]security.Identity, error)

Get methods invokes the client Get method

func (*IdentityClient) RenewCertificate added in v0.10.8

func (c *IdentityClient) RenewCertificate(ctx context.Context, group, name string, csr []*security.CertificateRequest) ([]*security.Certificate, string, error)

RenewCertificate methods invokes renew client certificate for the identity

func (*IdentityClient) Revoke added in v0.10.8

func (c *IdentityClient) Revoke(ctx context.Context, group, name string) (*security.Identity, error)

Revoke methods invokes revokes an identity

func (*IdentityClient) Rotate added in v0.10.8

func (c *IdentityClient) Rotate(ctx context.Context, group, name string) (*security.Identity, error)

Rotate methods rotates identity token

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL