Skip to content

OIDC issuer

For keyless connections Mayadyn is an OpenID Connect issuer. A workspace’s cloud is told to trust tokens from Mayadyn’s issuer whose subject is exactly one connection’s subject. The cloud enforces that binding, so a token minted for one workspace’s connection is useless against another workspace’s trust. No cloud key is stored.

Issuer https://id.mayadyn.com (permanent once clouds trust it)
Discovery GET https://id.mayadyn.com/.well-known/openid-configuration
Keys GET https://id.mayadyn.com/.well-known/jwks.json

Both endpoints are public (no auth), rate limited per IP (3000/minute), and served with Cache-Control: public, max-age=300. Only public keys are published.

Tokens are not available through the API: Mayadyn mints them internally, only when it opens a keyless connection, and only for that connection’s subject. No endpoint mints a token for a chosen subject.

Response 200:

{
"issuer": "https://id.mayadyn.com",
"jwks_uri": "https://id.mayadyn.com/.well-known/jwks.json",
"response_types_supported": ["id_token"],
"subject_types_supported": ["public"],
"id_token_signing_alg_values_supported": ["ES256"],
"claims_supported": ["iss", "sub", "aud", "iat", "nbf", "exp", "jti"]
}
Terminal window
curl -s https://id.mayadyn.com/.well-known/openid-configuration

Response 200: the published (unretired) signing keys, ECDSA P-256.

{"keys": [
{"kty": "EC", "crv": "P-256", "alg": "ES256", "use": "sig",
"kid": "Xq3h0n2bS1n6oT9V6pK8w0b2Zr1mE5cYJ4uA7dLf3sQ",
"x": "f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU",
"y": "x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0"}
]}

kid is the key’s RFC 7638 JWK thumbprint. Errors: 500 internal if the keys cannot be loaded.

JWS compact serialization, header {"alg": "ES256", "typ": "JWT", "kid": "<kid>"}.

Claim Value
iss https://id.mayadyn.com
sub mayadyn:<workspace id>:<connection id>, e.g. mayadyn:6f1c2a9e-3b7d-4c1e-9a52-1d8e4b7f0c31:c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e7f
aud the trust it is for. GCP: //iam.googleapis.com/projects/<number>/locations/global/workloadIdentityPools/<pool>/providers/<provider>
iat issue time
nbf issue time minus 60 s
exp issue time plus 10 minutes
jti 16 random bytes, base64url

Mayadyn reuses a token while it has more than 2 minutes left. The exact subject (and, for GCP, audience) of a connection is shown by GET /v1/connections/{ref}/setup.

A new key is published 24 hours before it starts signing (clouds cache the JWKS); the keys it replaces stay published for another 24 hours after that. Trust the issuer URL, not a specific kid.

GCP (Workload Identity Federation). The workspace creates a workload identity pool and an OIDC provider with issuer https://id.mayadyn.com, allowed audience = the provider’s own resource name, attribute mapping google.subject=assertion.sub and condition assertion.sub == 'mayadyn:<workspace id>:<connection id>', and grants that principal roles/iam.workloadIdentityUser on a service account. Mayadyn exchanges its token at Google STS (https://sts.googleapis.com/v1/token) and then impersonates the service account. Deleting the provider or the binding revokes access. Credential format: GCP, keyless.

OCI. Keyless OCI connections do not use these tokens. The workspace’s policy admits Mayadyn’s own OCI identity (a dynamic group in Mayadyn’s tenancy), and the compartment’s freeform tag mayadyn-connection must equal the connection’s subject. See OCI, keyless.

Guides: Connect Google Cloud, Connect Oracle Cloud.