Credentials
Create Credential
BetaManagedAgentsCredential Beta.Vaults.Credentials.Create(parameters, cancellationToken = default)List Credentials
CredentialListPage Beta.Vaults.Credentials.List(parameters, cancellationToken = default)Get Credential
BetaManagedAgentsCredential Beta.Vaults.Credentials.Retrieve(parameters, cancellationToken = default)Update Credential
BetaManagedAgentsCredential Beta.Vaults.Credentials.Update(parameters, cancellationToken = default)Delete Credential
BetaManagedAgentsDeletedCredential Beta.Vaults.Credentials.Delete(parameters, cancellationToken = default)Archive Credential
BetaManagedAgentsCredential Beta.Vaults.Credentials.Archive(parameters, cancellationToken = default)Validate Credential
BetaManagedAgentsCredentialValidation Beta.Vaults.Credentials.McpOAuthValidate(parameters, cancellationToken = default)Models
class BetaManagedAgentsCredential { Type; ID; ArchivedAt; /* 6 more */ }A credential stored in a vault. Sensitive fields are never returned in responses.
A credential stored in a vault. Sensitive fields are never returned in responses.
class BetaManagedAgentsCredentialNetworkingParams: union
class BetaManagedAgentsUnrestrictedCredentialNetworkingParams { Type; }Substitute the secret on any host the session's Environment network policy permits egress to. The Environment's network policy is the only boundary on where the secret can reach.
Substitute the secret on any host the session's Environment network policy permits egress to. The Environment's network policy is the only boundary on where the secret can reach.
class BetaManagedAgentsLimitedCredentialNetworkingParams { Type; AllowedHosts; }Substitute the secret only on requests to the listed hosts.
Substitute the secret only on requests to the listed hosts.
Hostnames on which the secret will be substituted. Each entry is a bare hostname (api.example.com), an IPv4 address (192.0.2.1), or a *.-prefixed wildcard (*.example.com). URLs, ports, paths, and IPv6 addresses are not accepted. At most 16 entries.
class BetaManagedAgentsCredentialValidation { Type; CredentialID; HasRefreshToken; /* 5 more */ }Result of live-probing a credential against its configured MCP server.
Result of live-probing a credential against its configured MCP server.
enum BetaManagedAgentsCredentialValidationStatusOverall verdict of a credential validation probe.
Overall verdict of a credential validation probe.
class BetaManagedAgentsDeletedCredential { Type; ID; }Confirmation of a deleted credential.
Confirmation of a deleted credential.
Unique identifier of the deleted credential.
class BetaManagedAgentsEnvironmentVariableAuthResponse { Type; InjectionLocation; Networking; SecretName; }Environment variable credential details. The secret value is never returned.
Environment variable credential details. The secret value is never returned.
class BetaManagedAgentsEnvironmentVariableCreateParams { Type; Networking; SecretName; /* 2 more */ }Parameters for creating an environment variable credential.
Parameters for creating an environment variable credential.
class BetaManagedAgentsEnvironmentVariableUpdateParams { Type; InjectionLocation; Networking; SecretValue; }Parameters for updating an environment variable credential. secret_name is immutable.
Parameters for updating an environment variable credential. secret_name is immutable.
class BetaManagedAgentsInjectionLocationParams { Body; Header; }Where in the outbound request the secret value may be substituted.
Where in the outbound request the secret value may be substituted.
Substitute when the placeholder appears in the request body.
Substitute when the placeholder appears in a request header value.
class BetaManagedAgentsInjectionLocationResponse { Body; Header; }Where in the outbound request the secret value is substituted.
Where in the outbound request the secret value is substituted.
Whether the placeholder is substituted in the request body.
Whether the placeholder is substituted in request header values.
class BetaManagedAgentsInjectionLocationUpdateParams { Body; Header; }Updated injection location.
Updated injection location.
Substitute when the placeholder appears in the request body.
Substitute when the placeholder appears in a request header value.
class BetaManagedAgentsLimitedCredentialNetworkingParams { Type; AllowedHosts; }Substitute the secret only on requests to the listed hosts.
Substitute the secret only on requests to the listed hosts.
Hostnames on which the secret will be substituted. Each entry is a bare hostname (api.example.com), an IPv4 address (192.0.2.1), or a *.-prefixed wildcard (*.example.com). URLs, ports, paths, and IPv6 addresses are not accepted. At most 16 entries.
class BetaManagedAgentsLimitedCredentialNetworkingResponse { Type; AllowedHosts; }The secret is substituted only on requests to the listed hosts.
The secret is substituted only on requests to the listed hosts.
Hostnames on which the secret will be substituted. An entry matches the request host exactly; a *.-prefixed entry matches any subdomain of the named domain but not the domain itself.
class BetaManagedAgentsMcpOAuthAuthResponse { Type; McpServerUrl; ExpiresAt; Refresh; }OAuth credential details for an MCP server.
OAuth credential details for an MCP server.
URL of the MCP server this credential authenticates against.
DateTimeOffset? ExpiresAtA timestamp in RFC 3339 format
A timestamp in RFC 3339 format
OAuth refresh token configuration returned in credential responses.
OAuth refresh token configuration returned in credential responses.
class BetaManagedAgentsMcpOAuthCreateParams { Type; AccessToken; McpServerUrl; /* 2 more */ }Parameters for creating an MCP OAuth credential.
Parameters for creating an MCP OAuth credential.
required string AccessTokenOAuth access token.
OAuth access token.
required string McpServerUrlURL of the MCP server this credential authenticates against.
URL of the MCP server this credential authenticates against.
DateTimeOffset? ExpiresAtA timestamp in RFC 3339 format
A timestamp in RFC 3339 format
OAuth refresh token parameters for creating a credential with refresh support.
OAuth refresh token parameters for creating a credential with refresh support.
class BetaManagedAgentsMcpOAuthRefreshParams { ClientID; RefreshToken; TokenEndpoint; /* 3 more */ }OAuth refresh token parameters for creating a credential with refresh support.
OAuth refresh token parameters for creating a credential with refresh support.
class BetaManagedAgentsMcpOAuthRefreshResponse { ClientID; TokenEndpoint; TokenEndpointAuth; /* 2 more */ }OAuth refresh token configuration returned in credential responses.
OAuth refresh token configuration returned in credential responses.
class BetaManagedAgentsMcpOAuthRefreshUpdateParams { RefreshToken; Scope; TokenEndpointAuth; }Parameters for updating OAuth refresh token configuration.
Parameters for updating OAuth refresh token configuration.
string? RefreshTokenUpdated OAuth refresh token.
Updated OAuth refresh token.
string? ScopeUpdated OAuth scope for the refresh request.
Updated OAuth scope for the refresh request.
TokenEndpointAuth TokenEndpointAuth
class BetaManagedAgentsTokenEndpointAuthBasicUpdateParam { Type; ClientSecret; }Updated HTTP Basic authentication parameters for the token endpoint.
Updated HTTP Basic authentication parameters for the token endpoint.
string? ClientSecretUpdated OAuth client secret.
Updated OAuth client secret.
class BetaManagedAgentsTokenEndpointAuthPostUpdateParam { Type; ClientSecret; }Updated POST body authentication parameters for the token endpoint.
Updated POST body authentication parameters for the token endpoint.
string? ClientSecretUpdated OAuth client secret.
Updated OAuth client secret.
class BetaManagedAgentsMcpOAuthUpdateParams { Type; AccessToken; ExpiresAt; Refresh; }Parameters for updating an MCP OAuth credential. The mcp_server_url is immutable.
Parameters for updating an MCP OAuth credential. The mcp_server_url is immutable.
class BetaManagedAgentsMcpProbe { HttpResponse; Method; }The failing step of an MCP validation probe.
The failing step of an MCP validation probe.
required BetaManagedAgentsRefreshHttpResponse? HttpResponseAn HTTP response captured during a credential validation probe.
An HTTP response captured during a credential validation probe.
Response body. May be truncated and has sensitive values scrubbed.
Whether body was truncated.
Value of the Content-Type response header.
required int StatusCodeHTTP status code.
HTTP status code.
The MCP method that failed (for example initialize or tools/list).
class BetaManagedAgentsRefreshHttpResponse { Body; BodyTruncated; ContentType; StatusCode; }An HTTP response captured during a credential validation probe.
An HTTP response captured during a credential validation probe.
Response body. May be truncated and has sensitive values scrubbed.
Whether body was truncated.
Value of the Content-Type response header.
required int StatusCodeHTTP status code.
HTTP status code.
class BetaManagedAgentsRefreshObject { HttpResponse; Status; }Outcome of a refresh-token exchange attempted during credential validation.
Outcome of a refresh-token exchange attempted during credential validation.
required BetaManagedAgentsRefreshHttpResponse? HttpResponseAn HTTP response captured during a credential validation probe.
An HTTP response captured during a credential validation probe.
Response body. May be truncated and has sensitive values scrubbed.
Whether body was truncated.
Value of the Content-Type response header.
required int StatusCodeHTTP status code.
HTTP status code.
required Status StatusOutcome of a refresh-token exchange attempted during credential validation.
Outcome of a refresh-token exchange attempted during credential validation.
class BetaManagedAgentsStaticBearerAuthResponse { Type; McpServerUrl; }Static bearer token credential details for an MCP server.
Static bearer token credential details for an MCP server.
URL of the MCP server this credential authenticates against.
class BetaManagedAgentsStaticBearerCreateParams { Type; Token; McpServerUrl; }Parameters for creating a static bearer token credential.
Parameters for creating a static bearer token credential.
required string TokenStatic bearer token value.
Static bearer token value.
required string McpServerUrlURL of the MCP server this credential authenticates against.
URL of the MCP server this credential authenticates against.
class BetaManagedAgentsStaticBearerUpdateParams { Type; Token; }Parameters for updating a static bearer token credential. The mcp_server_url is immutable.
Parameters for updating a static bearer token credential. The mcp_server_url is immutable.
string? TokenUpdated static bearer token value.
Updated static bearer token value.
class BetaManagedAgentsTokenEndpointAuthBasicParam { Type; ClientSecret; }Token endpoint uses HTTP Basic authentication with client credentials.
Token endpoint uses HTTP Basic authentication with client credentials.
required string ClientSecretOAuth client secret.
OAuth client secret.
class BetaManagedAgentsTokenEndpointAuthBasicResponse { Type; }Token endpoint uses HTTP Basic authentication with client credentials.
Token endpoint uses HTTP Basic authentication with client credentials.
class BetaManagedAgentsTokenEndpointAuthBasicUpdateParam { Type; ClientSecret; }Updated HTTP Basic authentication parameters for the token endpoint.
Updated HTTP Basic authentication parameters for the token endpoint.
string? ClientSecretUpdated OAuth client secret.
Updated OAuth client secret.
class BetaManagedAgentsTokenEndpointAuthNoneParam { Type; }Token endpoint requires no client authentication.
Token endpoint requires no client authentication.
class BetaManagedAgentsTokenEndpointAuthNoneResponse { Type; }Token endpoint requires no client authentication.
Token endpoint requires no client authentication.
class BetaManagedAgentsTokenEndpointAuthPostParam { Type; ClientSecret; }Token endpoint uses POST body authentication with client credentials.
Token endpoint uses POST body authentication with client credentials.
required string ClientSecretOAuth client secret.
OAuth client secret.
class BetaManagedAgentsTokenEndpointAuthPostResponse { Type; }Token endpoint uses POST body authentication with client credentials.
Token endpoint uses POST body authentication with client credentials.
class BetaManagedAgentsTokenEndpointAuthPostUpdateParam { Type; ClientSecret; }Updated POST body authentication parameters for the token endpoint.
Updated POST body authentication parameters for the token endpoint.
string? ClientSecretUpdated OAuth client secret.
Updated OAuth client secret.
class BetaManagedAgentsUnrestrictedCredentialNetworkingParams { Type; }Substitute the secret on any host the session's Environment network policy permits egress to. The Environment's network policy is the only boundary on where the secret can reach.
Substitute the secret on any host the session's Environment network policy permits egress to. The Environment's network policy is the only boundary on where the secret can reach.
class BetaManagedAgentsUnrestrictedCredentialNetworkingResponse { Type; }The secret is substituted on any host the session's Environment network policy permits egress to.
The secret is substituted on any host the session's Environment network policy permits egress to.