Class CreateScopedKeyRequest.Builder
- All Implemented Interfaces:
CreateScopedKeyRequest._FinalStage,CreateScopedKeyRequest.ContextIdStage,CreateScopedKeyRequest.KeyNameStage,CreateScopedKeyRequest.TenantIdStage,CreateScopedKeyRequest.UserIdStage
- Enclosing class:
CreateScopedKeyRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()The app context within the tenant.from(CreateScopedKeyRequest other) A human-readable name for the key, used to identify and disambiguate multiple keys for the same user.Optional display label surfaced through/v1/pingasprincipalLabel.Optional display label surfaced through/v1/pingasprincipalLabel.The tenant the key will operate on.The user the key binds to.
-
Method Details
-
from
- Specified by:
fromin interfaceCreateScopedKeyRequest.KeyNameStage
-
keyName
A human-readable name for the key, used to identify and disambiguate multiple keys for the same user. Maximum 100 characters.
A human-readable name for the key, used to identify and disambiguate multiple keys for the same user. Maximum 100 characters.
- Specified by:
keyNamein interfaceCreateScopedKeyRequest.KeyNameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
tenantId
The tenant the key will operate on. Must be your live tenant ID or your test tenant ID; an ID outside your account returns a uniform
404 not found(no distinction is made between a missing and an out-of-account tenant).The tenant the key will operate on. Must be your live tenant ID or your test tenant ID; an ID outside your account returns a uniform
404 not found(no distinction is made between a missing and an out-of-account tenant).- Specified by:
tenantIdin interfaceCreateScopedKeyRequest.TenantIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contextId
The app context within the tenant. Must reference an app context that already exists (create one via
POST /v1/app-contexts).The app context within the tenant. Must reference an app context that already exists (create one via
POST /v1/app-contexts).- Specified by:
contextIdin interfaceCreateScopedKeyRequest.ContextIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userId
The user the key binds to. May be a
HUMANor aSERVICEuser (a service user is the typical agent or bot case). An access profile must already exist for this context and user — the key references that profile; it does not create one. Naming your own principal needs nothing further; naming any OTHER principal additionally requires thedelegate-mintcapability on your credential, or a root API key.The user the key binds to. May be a
HUMANor aSERVICEuser (a service user is the typical agent or bot case). An access profile must already exist for this context and user — the key references that profile; it does not create one. Naming your own principal needs nothing further; naming any OTHER principal additionally requires thedelegate-mintcapability on your credential, or a root API key.- Specified by:
userIdin interfaceCreateScopedKeyRequest.UserIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
label
Optional display label surfaced through
/v1/pingasprincipalLabel. The MCPcurrent_identitytool uses it to show "signed in as ..." hints to end users (e.g. "Claude Desktop — clinical-notes RO"). Distinct fromkeyName, which is your own identifier for the key. Maximum 80 characters; if present, it must not have leading or trailing whitespace.- Specified by:
labelin interfaceCreateScopedKeyRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
label
Optional display label surfaced through
/v1/pingasprincipalLabel. The MCPcurrent_identitytool uses it to show "signed in as ..." hints to end users (e.g. "Claude Desktop — clinical-notes RO"). Distinct fromkeyName, which is your own identifier for the key. Maximum 80 characters; if present, it must not have leading or trailing whitespace.- Specified by:
labelin interfaceCreateScopedKeyRequest._FinalStage
-
build
- Specified by:
buildin interfaceCreateScopedKeyRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceCreateScopedKeyRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceCreateScopedKeyRequest._FinalStage
-