Feat: CLI support for scoped JWT tokens

This commit is contained in:
Daniel Hougaard
2024-03-12 19:56:37 +01:00
parent 9c9ade52db
commit b78d8d28ed
3 changed files with 71 additions and 1 deletions

View File

@@ -135,6 +135,14 @@ type GetOrganizationsResponse struct {
} `json:"organizations"`
}
type SelectOrganizationResponse struct {
Token string `json:"token"`
}
type SelectOrganizationRequest struct {
OrganizationId string `json:"organizationId"`
}
type Secret struct {
SecretKeyCiphertext string `json:"secretKeyCiphertext,omitempty"`
SecretKeyIV string `json:"secretKeyIV,omitempty"`