Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #346 from fqutishat/update
Browse files Browse the repository at this point in the history
chore: return key alias id
  • Loading branch information
fqutishat authored Jan 12, 2023
2 parents 1ae233c + 4ba95db commit 6be5780
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/aws/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ func (s *Service) Create(kt arieskms.KeyType) (string, interface{}, error) {
if err != nil {
return "", nil, err
}

return aliasName, aliasName, nil
}

return *result.KeyMetadata.KeyId, *result.KeyMetadata.KeyId, nil
Expand Down

0 comments on commit 6be5780

Please sign in to comment.