Ory.Model.ImportApiKeyRequest (ory_client v1.22.57)

Copy Markdown

Example: { "raw_key": "imported-key-EXAMPLE-not-a-real-secret", "name": "Example imported key", "actor_id": "payment-processor", "scopes": ["read", "write"], "ttl": "8760h", // 1 year (also accepts: 31536000s) "metadata": {"source": "example-provider", "environment": "staging"} }

Summary

Types

t()

@type t() :: %Ory.Model.ImportApiKeyRequest{
  actor_id: String.t() | nil,
  ip_restriction: Ory.Model.IpRestriction.t() | nil,
  metadata: map() | nil,
  name: String.t() | nil,
  rate_limit_policy: Ory.Model.RateLimitPolicy.t() | nil,
  raw_key: String.t() | nil,
  request_id: String.t() | nil,
  scopes: [String.t()] | nil,
  ttl: String.t() | nil,
  visibility: Ory.Model.KeyVisibility.t() | nil
}

Functions

decode(value)