ServiceAccountOidcIdentities

Create new OIDC Identity for a Service Account

post/serviceaccounts/{serviceAccountId}/oidcidentities/create/v1

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/serviceaccounts/{serviceAccountId}/oidcidentities/create/v1
  • Auth
    • API key in header X-Octopus-ApiKey
    • or API key in query parameter ApiKey
    • or API key in header X-NuGet-ApiKey

Path parameters

serviceAccountIdstring required

The id of the service account that the identity belonds to

Request body

Audiencestring

The audience of tokens for the identity

Issuerstring required

Gets the issuer of tokens for the identity

Namestring required

The name of the ServiceAccountOidcIdentity.

ServiceAccountIdstring required

The id of the service account that the identity belonds to

Subjectstring required

Gets the subject of tokens for the identity

Example request

{
  "ServiceAccountId": "Users-1"
}

Response

Created

Idstring required

Changes

No recorded changes to this operation across all 13 revisions of this API.