Skip to content

Commit

Permalink
added doc strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragavi916 committed Sep 26, 2024
1 parent 22368e5 commit d0a3aaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/api_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/spectrocloud/palette-sdk-go/api/models"
)

// CreateAPIKey creates a new API key for the tenant
func (h *V1Client) CreateAPIKey(name string, annotations map[string]string, expiry time.Duration) (string, error) {
tenantUID, err := h.GetTenantUID()
if err != nil {
Expand Down

0 comments on commit d0a3aaa

Please sign in to comment.