chore: update buf version to 1.15.1 (#3102)

This commit is contained in:
Jim authored and GitHub committed 2023-03-20 10:37:40 -04:00
1 parent bf955b60d4
commit 982c9c263c
45 files changed
+441 -762

No files matched your search

@@ -23,9 +23,7 @@ service AccountService {
get: "/v1/accounts/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single Account."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single Account."};
}
// ListAccounts returns a list of stored Accounts which exist inside the
@@ -33,12 +31,8 @@ service AccountService {
// contains the Accounts being listed. If missing or malformed an error
// is returned.
rpc ListAccounts(ListAccountsRequest) returns (ListAccountsResponse) {
option (google.api.http) = {
get: "/v1/accounts"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all Accounts in a specific Auth Method."
};
option (google.api.http) = {get: "/v1/accounts"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all Accounts in a specific Auth Method."};
}
// CreateAccount creates and stores an Account in boundary. The provided
@@ -53,9 +47,7 @@ service AccountService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Creates a single Account in the provided Auth Method."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Creates a single Account in the provided Auth Method."};
}
// UpdateAccount updates an existing Account in boundary. The provided Account
@@ -72,20 +64,14 @@ service AccountService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Updates an Account."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Updates an Account."};
}
// DeleteAccount removes an Account from Boundary. If the provided Account Id
// is malformed or not provided an error is returned.
rpc DeleteAccount(DeleteAccountRequest) returns (DeleteAccountResponse) {
option (google.api.http) = {
delete: "/v1/accounts/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Deletes an Account."
};
option (google.api.http) = {delete: "/v1/accounts/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Deletes an Account."};
}
// SetPassword sets the Account's password to the one provided in the
@@ -97,9 +83,7 @@ service AccountService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Sets the password for the provided Account."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Sets the password for the provided Account."};
}
// ChangePassword changes the Account's password to the one provided in the
@@ -111,9 +95,7 @@ service AccountService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Sets the password for the provided Account."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Sets the password for the provided Account."};
}
}
@@ -26,21 +26,15 @@ service AuthMethodService {
get: "/v1/auth-methods/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single Auth Method."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single Auth Method."};
}
// ListAuthMethods returns a list of stored Auth Methods which are in the
// provided scope. The request must include the scope id and if missing,
// malformed, or referencing a non existing scope, an error is returned.
rpc ListAuthMethods(ListAuthMethodsRequest) returns (ListAuthMethodsResponse) {
option (google.api.http) = {
get: "/v1/auth-methods"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all Auth Methods."
};
option (google.api.http) = {get: "/v1/auth-methods"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all Auth Methods."};
}
// CreateAuthMethod creates and stores an Auth Method in boundary. The
@@ -54,9 +48,7 @@ service AuthMethodService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Creates a single Auth Method."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Creates a single Auth Method."};
}
// UpdateAuthMethod updates an existing Auth Method in boundary. The provided
@@ -73,20 +65,14 @@ service AuthMethodService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Updates an Auth Method."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Updates an Auth Method."};
}
// DeleteAuthMethod removes an Auth Method from Boundary. If the Auth Method id
// is malformed or not provided an error is returned.
rpc DeleteAuthMethod(DeleteAuthMethodRequest) returns (DeleteAuthMethodResponse) {
option (google.api.http) = {
delete: "/v1/auth-methods/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Deletes an AuthMethod"
};
option (google.api.http) = {delete: "/v1/auth-methods/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Deletes an AuthMethod"};
}
// ChangeState changes the state of an Auth Method from Boundary.
@@ -96,9 +82,7 @@ service AuthMethodService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Changes the state of an OIDC AuthMethod"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Changes the state of an OIDC AuthMethod"};
}
// Authenticate validates credentials provided and returns an Auth Token.
@@ -107,9 +91,7 @@ service AuthMethodService {
post: "/v1/auth-methods/{auth_method_id}:authenticate"
body: "*"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Authenticate a user to an scope and retrieve an authentication token."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Authenticate a user to an scope and retrieve an authentication token."};
}
}
@@ -20,9 +20,7 @@ service AuthTokenService {
get: "/v1/auth-tokens/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single Auth Token."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single Auth Token."};
}
// ListAuthTokens returns a list of stored Auth Tokens which exist inside
@@ -30,23 +28,15 @@ service AuthTokenService {
// the Auth Tokens being listed. If the scope id is missing, malformed, or
// referencing a non existing resource, an error is returned.
rpc ListAuthTokens(ListAuthTokensRequest) returns (ListAuthTokensResponse) {
option (google.api.http) = {
get: "/v1/auth-tokens"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all Auth Tokens."
};
option (google.api.http) = {get: "/v1/auth-tokens"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all Auth Tokens."};
}
// DeleteAuthToken removes a Auth Token from Boundary. If the provided
// Auth Token id is malformed or not provided an error is returned.
rpc DeleteAuthToken(DeleteAuthTokenRequest) returns (DeleteAuthTokenResponse) {
option (google.api.http) = {
delete: "/v1/auth-tokens/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Deletes an Auth Token."
};
option (google.api.http) = {delete: "/v1/auth-tokens/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Deletes an Auth Token."};
}
}
@@ -23,21 +23,15 @@ service CredentialLibraryService {
get: "/v1/credential-libraries/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single Credential Library."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single Credential Library."};
}
// ListCredentialLibraries returns a list of stored Credential Libraries which are in the
// provided scope. The request must include the Credential Store id and if missing,
// malformed, or referencing a non existing scope, an error is returned.
rpc ListCredentialLibraries(ListCredentialLibrariesRequest) returns (ListCredentialLibrariesResponse) {
option (google.api.http) = {
get: "/v1/credential-libraries"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all Credential Library."
};
option (google.api.http) = {get: "/v1/credential-libraries"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all Credential Library."};
}
// CreateCredentialLibrary creates and stores an Credential Library in boundary. The
@@ -51,9 +45,7 @@ service CredentialLibraryService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Creates a single Credential Library."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Creates a single Credential Library."};
}
// UpdateCredentialLibrary updates an existing Credential Library in boundary. The provided
@@ -70,20 +62,14 @@ service CredentialLibraryService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Updates a Credential Library."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Updates a Credential Library."};
}
// DeleteCredentialLibrary removes an Credential Library from Boundary. If the Credential Library id
// is malformed or not provided an error is returned.
rpc DeleteCredentialLibrary(DeleteCredentialLibraryRequest) returns (DeleteCredentialLibraryResponse) {
option (google.api.http) = {
delete: "/v1/credential-libraries/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Deletes a Credential Library"
};
option (google.api.http) = {delete: "/v1/credential-libraries/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Deletes a Credential Library"};
}
}
@@ -23,21 +23,15 @@ service CredentialService {
get: "/v1/credentials/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single Credential."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single Credential."};
}
// ListCredentials returns a list of stored Credentials which are in the
// provided store. The request must include the Credential Store id and if missing,
// malformed, or referencing a non existing scope, an error is returned.
rpc ListCredentials(ListCredentialsRequest) returns (ListCredentialsResponse) {
option (google.api.http) = {
get: "/v1/credentials"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all Credentials."
};
option (google.api.http) = {get: "/v1/credentials"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all Credentials."};
}
// CreateCredential creates and stores an Credential in boundary. The
@@ -51,9 +45,7 @@ service CredentialService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Creates a single Credential."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Creates a single Credential."};
}
// UpdateCredential updates an existing Credential in boundary. The provided
@@ -70,20 +62,14 @@ service CredentialService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Updates a Credential."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Updates a Credential."};
}
// DeleteCredential removes an Credential from Boundary. If the Credential id
// is malformed or not provided an error is returned.
rpc DeleteCredential(DeleteCredentialRequest) returns (DeleteCredentialResponse) {
option (google.api.http) = {
delete: "/v1/credentials/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Deletes a Credential"
};
option (google.api.http) = {delete: "/v1/credentials/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Deletes a Credential"};
}
}
@@ -23,21 +23,15 @@ service CredentialStoreService {
get: "/v1/credential-stores/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single Credential Store."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single Credential Store."};
}
// ListCredentialStores returns a list of stored Credential Stores which are in the
// provided scope. The request must include the scope id and if missing,
// malformed, or referencing a non existing scope, an error is returned.
rpc ListCredentialStores(ListCredentialStoresRequest) returns (ListCredentialStoresResponse) {
option (google.api.http) = {
get: "/v1/credential-stores"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all Credential Stores."
};
option (google.api.http) = {get: "/v1/credential-stores"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all Credential Stores."};
}
// CreateCredentialStore creates and stores an Credential Store in boundary. The
@@ -51,9 +45,7 @@ service CredentialStoreService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Creates a single Credential Store."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Creates a single Credential Store."};
}
// UpdateCredentialStore updates an existing Credential Store in boundary. The provided
@@ -70,20 +62,14 @@ service CredentialStoreService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Updates a Credential Store."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Updates a Credential Store."};
}
// DeleteCredentialStore removes a Credential Store from Boundary. If the Credential Store id
// is malformed or not provided an error is returned.
rpc DeleteCredentialStore(DeleteCredentialStoreRequest) returns (DeleteCredentialStoreResponse) {
option (google.api.http) = {
delete: "/v1/credential-stores/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Deletes a CredentialStore"
};
option (google.api.http) = {delete: "/v1/credential-stores/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Deletes a CredentialStore"};
}
}
@@ -21,21 +21,15 @@ service GroupService {
get: "/v1/groups/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single Group."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single Group."};
}
// ListGroups returns a list of stored Groups which exist inside the
// provided scope id. If that id is missing, malformed, or
// references a non-existing scope, an error is returned.
rpc ListGroups(ListGroupsRequest) returns (ListGroupsResponse) {
option (google.api.http) = {
get: "/v1/groups"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all Groups."
};
option (google.api.http) = {get: "/v1/groups"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all Groups."};
}
// CreateGroup creates and stores a Group in boundary. The provided
@@ -49,9 +43,7 @@ service GroupService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Creates a single Group."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Creates a single Group."};
}
// UpdateGroup updates an existing Group in boundary. The provided Group
@@ -68,20 +60,14 @@ service GroupService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Updates a Group."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Updates a Group."};
}
// DeleteGroup removes a Group from Boundary. If the provided Group
// ID is malformed or not provided an error is returned.
rpc DeleteGroup(DeleteGroupRequest) returns (DeleteGroupResponse) {
option (google.api.http) = {
delete: "/v1/groups/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Deletes a Group."
};
option (google.api.http) = {delete: "/v1/groups/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Deletes a Group."};
}
// AddGroupMembers adds members to a Group. The provided request must include
@@ -94,9 +80,7 @@ service GroupService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Adds members to a Group."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Adds members to a Group."};
}
// SetGroupMembers sets the Group's members. Any existing members on
@@ -110,9 +94,7 @@ service GroupService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Set a Group's members to exactly the list of provided in the request, removing any members that are not specified."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Set a Group's members to exactly the list of provided in the request, removing any members that are not specified."};
}
// RemoveGroupMembers removes members from the specified Group.
@@ -126,9 +108,7 @@ service GroupService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Removes the specified members from a Group."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Removes the specified members from a Group."};
}
}
@@ -24,9 +24,7 @@ service HostCatalogService {
get: "/v1/host-catalogs/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single Host Catalog."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single Host Catalog."};
}
// ListHostCatalogs returns a list of stored Host Catalogs which exist inside
@@ -34,12 +32,8 @@ service HostCatalogService {
// ID and if it is missing, malformed, or references a non-existing resource
// an error is returned.
rpc ListHostCatalogs(ListHostCatalogsRequest) returns (ListHostCatalogsResponse) {
option (google.api.http) = {
get: "/v1/host-catalogs"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a list of Host Catalogs."
};
option (google.api.http) = {get: "/v1/host-catalogs"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a list of Host Catalogs."};
}
// CreateHostCatalog creates and stores a Host Catalog in boundary. The
@@ -53,9 +47,7 @@ service HostCatalogService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Creates a Host Catalog"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Creates a Host Catalog"};
}
// UpdateHostCatalog updates an existing Host Catalog in Boundary. The
@@ -69,21 +61,15 @@ service HostCatalogService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Updates a Host Catalog"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Updates a Host Catalog"};
}
// DeleteHostCatalog removes a Host Catalog and all associated Hosts and Host
// sets from Boundary. If the provided Host Catalog IDs is malformed or not
// provided DeleteHostCatalog returns an error.
rpc DeleteHostCatalog(DeleteHostCatalogRequest) returns (DeleteHostCatalogResponse) {
option (google.api.http) = {
delete: "/v1/host-catalogs/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Deletes a Host Catalog"
};
option (google.api.http) = {delete: "/v1/host-catalogs/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Deletes a Host Catalog"};
}
}
@@ -24,9 +24,7 @@ service HostService {
get: "/v1/hosts/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single Host."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single Host."};
}
// ListHosts returns a list of stored hosts which exist inside the provided
@@ -34,12 +32,8 @@ service HostService {
// Hosts being listed. If the id is missing, malformed, or reference a
// non-existing resource, an error is returned.
rpc ListHosts(ListHostsRequest) returns (ListHostsResponse) {
option (google.api.http) = {
get: "/v1/hosts"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "List all Hosts for the specified Catalog."
};
option (google.api.http) = {get: "/v1/hosts"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "List all Hosts for the specified Catalog."};
}
// CreateHost creates and stores a Host in boundary. The provided
@@ -53,9 +47,7 @@ service HostService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Create a single Host."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Create a single Host."};
}
// UpdateHost updates an existing Host in boundary. The provided
@@ -72,20 +64,14 @@ service HostService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Update a Host."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Update a Host."};
}
// DeleteHost removes a Host from Boundary. If the provided Host ID
// is malformed or not provided an error is returned.
rpc DeleteHost(DeleteHostRequest) returns (DeleteHostResponse) {
option (google.api.http) = {
delete: "/v1/hosts/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Delete a Host."
};
option (google.api.http) = {delete: "/v1/hosts/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Delete a Host."};
}
}
@@ -23,21 +23,15 @@ service HostSetService {
get: "/v1/host-sets/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Get a single Host Set."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Get a single Host Set."};
}
// ListHostSets returns a list of stored Host Sets which exist inside the
// Host Catalog provided. The request must include a properly formatted
// Host Catalog id or an error is returned.
rpc ListHostSets(ListHostSetsRequest) returns (ListHostSetsResponse) {
option (google.api.http) = {
get: "/v1/host-sets"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "List all Host Sets under the specific Catalog."
};
option (google.api.http) = {get: "/v1/host-sets"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "List all Host Sets under the specific Catalog."};
}
// CreateHostSet creates and stores a Host Set in boundary. The provided
@@ -52,9 +46,7 @@ service HostSetService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Create a Host Set."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Create a Host Set."};
}
// UpdateHostSet updates an existing Host Set in boundary. The provided
@@ -71,20 +63,14 @@ service HostSetService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Update a Host Set."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Update a Host Set."};
}
// DeleteHostSet removes a Host Set from Boundary. If the provided
// Host Set id is malformed or not provided an error is returned.
rpc DeleteHostSet(DeleteHostSetRequest) returns (DeleteHostSetResponse) {
option (google.api.http) = {
delete: "/v1/host-sets/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Delete a Host Set."
};
option (google.api.http) = {delete: "/v1/host-sets/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Delete a Host Set."};
}
// AddHostSetHosts adds a Host to a Host Set. The provided request must
@@ -100,9 +86,7 @@ service HostSetService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Adds existing Hosts to a Host Set."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Adds existing Hosts to a Host Set."};
}
// SetHostSetHosts sets the Host Set's hosts. Any existing hosts on the
@@ -117,9 +101,7 @@ service HostSetService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Sets the Hosts on the Host Set."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Sets the Hosts on the Host Set."};
}
// RemoveHostSetHosts removes the Hosts from the specified Host Set. The
@@ -133,9 +115,7 @@ service HostSetService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Removes Hosts from the Host Set."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Removes Hosts from the Host Set."};
}
}
@@ -23,9 +23,7 @@ service ManagedGroupService {
get: "/v1/managed-groups/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single ManagedGroup."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single ManagedGroup."};
}
// ListManagedGroups returns a list of stored ManagedGroups which exist inside the
@@ -33,12 +31,8 @@ service ManagedGroupService {
// contains the ManagedGroups being listed. If missing or malformed an error
// is returned.
rpc ListManagedGroups(ListManagedGroupsRequest) returns (ListManagedGroupsResponse) {
option (google.api.http) = {
get: "/v1/managed-groups"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all ManagedGroups in a specific Auth Method."
};
option (google.api.http) = {get: "/v1/managed-groups"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all ManagedGroups in a specific Auth Method."};
}
// CreateManagedGroup creates and stores a ManagedGroup. The provided request
@@ -53,9 +47,7 @@ service ManagedGroupService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Creates a single ManagedGroup in the provided Auth Method."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Creates a single ManagedGroup in the provided Auth Method."};
}
// UpdateManagedGroup updates an existing ManagedGroup. The provided
@@ -72,20 +64,14 @@ service ManagedGroupService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Updates a ManagedGroup."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Updates a ManagedGroup."};
}
// DeleteManagedGroup removes a ManagedGroup. If the provided ManagedGroup Id
// is malformed or not provided an error is returned.
rpc DeleteManagedGroup(DeleteManagedGroupRequest) returns (DeleteManagedGroupResponse) {
option (google.api.http) = {
delete: "/v1/managed-groups/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Deletes a ManagedGroup."
};
option (google.api.http) = {delete: "/v1/managed-groups/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Deletes a ManagedGroup."};
}
}
@@ -21,9 +21,7 @@ service RoleService {
get: "/v1/roles/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single Role."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single Role."};
}
// ListRoles returns a list of stored Roles which exist inside the scope
@@ -31,12 +29,8 @@ service RoleService {
// the Roles being retrieved. If the scope ID is missing, malformed, or
// reference a non-existing scope, an error is returned.
rpc ListRoles(ListRolesRequest) returns (ListRolesResponse) {
option (google.api.http) = {
get: "/v1/roles"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all Roles."
};
option (google.api.http) = {get: "/v1/roles"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all Roles."};
}
// CreateRole creates and stores a Role. The provided request must include the
@@ -50,9 +44,7 @@ service RoleService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Creates a single Role."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Creates a single Role."};
}
// UpdateRole updates an existing Role in boundary. The provided
@@ -69,20 +61,14 @@ service RoleService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Updates a Role."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Updates a Role."};
}
// DeleteRole removes a Role from Boundary. If the provided scope or Role IDs
// are malformed, or not provided an error is returned.
rpc DeleteRole(DeleteRoleRequest) returns (DeleteRoleResponse) {
option (google.api.http) = {
delete: "/v1/roles/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Deletes a Role."
};
option (google.api.http) = {delete: "/v1/roles/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Deletes a Role."};
}
// AddRolePrincipals adds users and/or groups to a Role. The provided request
@@ -96,9 +82,7 @@ service RoleService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Adds Users and/or Groups to a Role."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Adds Users and/or Groups to a Role."};
}
// SetRolePrincipals sets the Role's users and/or groups. Any existing
@@ -113,9 +97,7 @@ service RoleService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Set Users and/or Groups to a Role, removing any principals that are not specified in the request."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Set Users and/or Groups to a Role, removing any principals that are not specified in the request."};
}
// RemoveRolePrincipals removes the users and/or groups from the specified
@@ -130,9 +112,7 @@ service RoleService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Removes the specified Users and/or Groups from a Role."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Removes the specified Users and/or Groups from a Role."};
}
// AddRoleGrants adds grants to a Role. The provided request must include
@@ -144,9 +124,7 @@ service RoleService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Adds grants to a Role"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Adds grants to a Role"};
}
// SetRoleGrants sets the Role's grants. Any existing grants on the Role are
@@ -159,9 +137,7 @@ service RoleService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Set grants for a Role, removing any grants that are not specified in the request."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Set grants for a Role, removing any grants that are not specified in the request."};
}
// RemoveRoleGrants removes the grants from the specified Role.
@@ -174,9 +150,7 @@ service RoleService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Removes grants from a Role."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Removes grants from a Role."};
}
}
@@ -12,9 +12,7 @@ import "protoc-gen-openapiv2/options/annotations.proto";
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/services;services";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "Boundary Controller HTTP API"
}
info: {title: "Boundary Controller HTTP API"}
schemes: HTTPS
schemes: HTTP
};
@@ -29,20 +27,14 @@ service ScopeService {
get: "/v1/scopes/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single Scope."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single Scope."};
}
// ListScopes returns a list of stored Scopes which exist inside the provided
// parent Scope id.
rpc ListScopes(ListScopesRequest) returns (ListScopesResponse) {
option (google.api.http) = {
get: "/v1/scopes"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all Scopes within the Scope provided in the request."
};
option (google.api.http) = {get: "/v1/scopes"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all Scopes within the Scope provided in the request."};
}
// CreateScope creates and stores a Scope in boundary. The provided request
@@ -56,9 +48,7 @@ service ScopeService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Creates a single Scope."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Creates a single Scope."};
}
// UpdateScope updates an existing Scope in boundary. The provided
@@ -75,31 +65,21 @@ service ScopeService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Updates a Scope."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Updates a Scope."};
}
// DeleteScope remotes a Scope and all child resources from Boundary. If the
// provided Scope IDs are malformed or not provided an error is returned.
rpc DeleteScope(DeleteScopeRequest) returns (DeleteScopeResponse) {
option (google.api.http) = {
delete: "/v1/scopes/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Deletes a Scope."
};
option (google.api.http) = {delete: "/v1/scopes/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Deletes a Scope."};
}
// ListKeys lists all the keys found in the scope specified. If the scope
// is not found an error is returned.
rpc ListKeys(ListKeysRequest) returns (ListKeysResponse) {
option (google.api.http) = {
get: "/v1/scopes/{id}:list-keys"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "List all keys in a Scope."
};
option (google.api.http) = {get: "/v1/scopes/{id}:list-keys"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "List all keys in a Scope."};
}
// RotateKeys rotates and optionally rewraps all the keys found in the
@@ -110,19 +90,13 @@ service ScopeService {
post: "/v1/scopes:rotate-keys"
body: "*"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Rotate all keys in a Scope."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Rotate all keys in a Scope."};
}
// ListKeyVersionDestructionJobs lists any pending key version destruction jobs in the scope.
rpc ListKeyVersionDestructionJobs(ListKeyVersionDestructionJobsRequest) returns (ListKeyVersionDestructionJobsResponse) {
option (google.api.http) = {
get: "/v1/scopes/{scope_id}:list-key-version-destruction-jobs"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all pending key version destruction jobs in a Scope."
};
option (google.api.http) = {get: "/v1/scopes/{scope_id}:list-key-version-destruction-jobs"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all pending key version destruction jobs in a Scope."};
}
// DestroyKeyVersion destroys the specified key version. If this requires re-encrypting
@@ -133,9 +107,7 @@ service ScopeService {
post: "/v1/scopes:destroy-key-version"
body: "*"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Destroy the specified key version in a Scope. This may start an asynchronous job that re-encrypts all data encrypted by the specified key version. Use GET /v1/scopes/{scope_id}:list-key-version-destruction-jobs to monitor pending destruction jobs."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Destroy the specified key version in a Scope. This may start an asynchronous job that re-encrypts all data encrypted by the specified key version. Use GET /v1/scopes/{scope_id}:list-key-version-destruction-jobs to monitor pending destruction jobs."};
}
}
@@ -21,9 +21,7 @@ service SessionService {
get: "/v1/sessions/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single Session."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single Session."};
}
// ListSessions returns a list of stored Sessions which exist inside the scope
@@ -31,12 +29,8 @@ service SessionService {
// the Sessions being retrieved. If the scope ID is missing, malformed, or
// reference a non existing scope, an error is returned.
rpc ListSessions(ListSessionsRequest) returns (ListSessionsResponse) {
option (google.api.http) = {
get: "/v1/sessions"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all Sessions."
};
option (google.api.http) = {get: "/v1/sessions"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all Sessions."};
}
// CancelSession cancels an existing Session in boundary. An error
@@ -48,9 +42,7 @@ service SessionService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Cancels a Session."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Cancels a Session."};
}
}
@@ -24,9 +24,7 @@ service TargetService {
get: "/v1/targets/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single Target."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single Target."};
}
// ListTargets returns a list of stored Targets which exist inside the project
@@ -34,12 +32,8 @@ service TargetService {
// the Targets being retrieved. If the scope ID is missing, malformed, or
// reference a non existing scope, an error is returned.
rpc ListTargets(ListTargetsRequest) returns (ListTargetsResponse) {
option (google.api.http) = {
get: "/v1/targets"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all Targets."
};
option (google.api.http) = {get: "/v1/targets"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all Targets."};
}
// CreateTarget creates and stores a Target in boundary. The provided
@@ -53,9 +47,7 @@ service TargetService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Creates a single Target."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Creates a single Target."};
}
// UpdateTarget updates an existing Target in boundary. The provided
@@ -72,20 +64,14 @@ service TargetService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Updates a Target."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Updates a Target."};
}
// DeleteTarget removes a Target from Boundary. If the provided Target ID
// is malformed or not provided an error is returned.
rpc DeleteTarget(DeleteTargetRequest) returns (DeleteTargetResponse) {
option (google.api.http) = {
delete: "/v1/targets/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Deletes a Target."
};
option (google.api.http) = {delete: "/v1/targets/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Deletes a Target."};
}
// AuthorizeSession creates authorization information from a given Target.
@@ -95,9 +81,7 @@ service TargetService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Authorizes a Session."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Authorizes a Session."};
}
// AddTargetHostSources adds Host Sources to this Target. The provided request
@@ -114,9 +98,7 @@ service TargetService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Adds existing Host Sources to a Target. Cannot be used on targets that have their address field set."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Adds existing Host Sources to a Target. Cannot be used on targets that have their address field set."};
}
// SetTargetHostSources sets the Target's Host Sources. Any existing Host
@@ -133,9 +115,7 @@ service TargetService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Sources the Host Sources on the Target. Cannot be used on targets that have their address field set."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Sources the Host Sources on the Target. Cannot be used on targets that have their address field set."};
}
// RemoveTargetHostSources removes the Host Sources from the specified Target.
@@ -150,9 +130,7 @@ service TargetService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Removes Host Sources from the Target."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Removes Host Sources from the Target."};
}
// AddTargetCredentialSources adds Credential Sources to this Target.
@@ -169,9 +147,7 @@ service TargetService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Adds existing Credential Sources to a Target."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Adds existing Credential Sources to a Target."};
}
// SetTargetCredentialSources sets the Target's Credential Sources.
@@ -187,9 +163,7 @@ service TargetService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Sets the Credential Sources on the Target."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Sets the Credential Sources on the Target."};
}
// RemoveTargetCredentialSources removes the Credential Sources from the
@@ -204,9 +178,7 @@ service TargetService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Removes Credential Sources from the Target."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Removes Credential Sources from the Target."};
}
}
@@ -22,9 +22,7 @@ service UserService {
get: "/v1/users/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single User."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single User."};
}
// ListUsers returns a list of stored Users which exist inside the provided
@@ -32,12 +30,8 @@ service UserService {
// If the scope ID is missing, malformed, or reference a non existing scope,
// an error is returned.
rpc ListUsers(ListUsersRequest) returns (ListUsersResponse) {
option (google.api.http) = {
get: "/v1/users"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all Users."
};
option (google.api.http) = {get: "/v1/users"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all Users."};
}
// CreateUser creates and stores a User in boundary. The provided
@@ -51,9 +45,7 @@ service UserService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Creates a single User."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Creates a single User."};
}
// UpdateUser updates an existing User in boundary. The provided
@@ -70,20 +62,14 @@ service UserService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Updates a User."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Updates a User."};
}
// DeleteUser removes a User from Boundary. If the provided User ID
// is malformed or not provided an error is returned.
rpc DeleteUser(DeleteUserRequest) returns (DeleteUserResponse) {
option (google.api.http) = {
delete: "/v1/users/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Deletes a User."
};
option (google.api.http) = {delete: "/v1/users/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Deletes a User."};
}
// AddUserAccounts adds Users as members to a group. The provided request
@@ -97,9 +83,7 @@ service UserService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Associates an Account to a User."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Associates an Account to a User."};
}
// SetUserAccounts sets the Accounts associated with this User.
@@ -116,9 +100,7 @@ service UserService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Set the Accounts associated to the User to exactly the list of provided in the request, removing any Accounts that are not specified."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Set the Accounts associated to the User to exactly the list of provided in the request, removing any Accounts that are not specified."};
}
// RemoveUserAccounts removes Accounts from the specified User.
@@ -131,9 +113,7 @@ service UserService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Removes the specified Accounts from being associated with the provided User."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Removes the specified Accounts from being associated with the provided User."};
}
}
@@ -23,9 +23,7 @@ service WorkerService {
get: "/v1/workers/{id}"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Gets a single Worker."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Gets a single Worker."};
}
// ListWorkers returns a list of stored Workers which exist inside the provided
@@ -33,12 +31,8 @@ service WorkerService {
// If the scope ID is missing, malformed, or reference a non existing scope,
// an error is returned.
rpc ListWorkers(ListWorkersRequest) returns (ListWorkersResponse) {
option (google.api.http) = {
get: "/v1/workers"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Lists all Workers."
};
option (google.api.http) = {get: "/v1/workers"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Lists all Workers."};
}
// CreateWorkerLed creates and stores a Worker in Boundary. The provided
@@ -52,9 +46,7 @@ service WorkerService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Creates a single Worker."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Creates a single Worker."};
}
// CreateControllerLed creates and stores a Worker in Boundary and returns an
@@ -70,9 +62,7 @@ service WorkerService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Creates a single Worker."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Creates a single Worker."};
}
// UpdateWorker updates an existing Worker in boundary. The provided
@@ -89,20 +79,14 @@ service WorkerService {
body: "item"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Updates a Worker."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Updates a Worker."};
}
// DeleteWorker removes a Worker from Boundary. If the provided Worker ID
// is malformed or not provided an error is returned.
rpc DeleteWorker(DeleteWorkerRequest) returns (DeleteWorkerResponse) {
option (google.api.http) = {
delete: "/v1/workers/{id}"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Deletes a Worker."
};
option (google.api.http) = {delete: "/v1/workers/{id}"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Deletes a Worker."};
}
// AddWorkerTags adds api tags to an existing Worker. If missing, malformed,
@@ -113,9 +97,7 @@ service WorkerService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Adds api tags to an existing Worker."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Adds api tags to an existing Worker."};
}
// SetWorkerTags sets api tags for an existing Worker. Any existing tags are overridden
@@ -127,9 +109,7 @@ service WorkerService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Sets api tags for an existing Worker."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Sets api tags for an existing Worker."};
}
// RemoveWorkerTags removes api tags from an existing Worker. If missing, malformed,
@@ -140,9 +120,7 @@ service WorkerService {
body: "*"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Removes api tags from an existing Worker."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Removes api tags from an existing Worker."};
}
// ReadCertificateAuthority returns the current and next set of root certificates
@@ -151,9 +129,7 @@ service WorkerService {
get: "/v1/workers:read-certificate-authority"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Retrieves root certificates used for worker authentication."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Retrieves root certificates used for worker authentication."};
}
// ReinitializeCas removes both current and next root certs and replaces them with a new set
@@ -162,9 +138,7 @@ service WorkerService {
post: "/v1/workers:reinitialize-certificate-authority"
response_body: "item"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Reinitializes root certificates used for worker authentication."
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Reinitializes root certificates used for worker authentication."};
}
}