changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "ManagementKind": {
+ "description": "Lifecycle owner. Tenant-managed resources can be changed through tenant APIs. Cluster-managed resources are installed and lifecycle-managed by the control plane; individual APIs may explicitly expose tenant-editable settings.",
+ "enum": [
+ "tenant",
+ "cluster"
+ ],
+ "type": "string"
+ },
+ "Metadata": {
+ "additionalProperties": {
+ "maxLength": 512,
+ "type": "string"
+ },
+ "description": "Arbitrary key-value labels stored with the resource.",
+ "maxProperties": 16,
+ "propertyNames": {
+ "maxLength": 64,
+ "minLength": 1
+ },
+ "type": "object"
+ },
+ "OrgSecretOwner": {
+ "properties": {
+ "kind": {
+ "description": "org: the organization owns the secret.",
+ "enum": [
+ "org"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ "OrganizationID": {
+ "pattern": "^org_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ProjectID": {
+ "description": "Project ID (proj_...).",
+ "pattern": "^proj_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ProjectSecretOwner": {
+ "properties": {
+ "kind": {
+ "description": "project: a single project owns the secret.",
+ "enum": [
+ "project"
+ ],
+ "type": "string"
+ },
+ "project_id": {
+ "$ref": "#/$defs/ProjectID",
+ "description": "Project that owns the secret."
+ }
+ },
+ "required": [
+ "kind",
+ "project_id"
+ ],
+ "type": "object"
+ },
+ "ResourceName": {
+ "description": "Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "SecretID": {
+ "description": "Secret ID (sec_...).",
+ "pattern": "^sec_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "SecretKind": {
+ "enum": [
+ "generic",
+ "oauth_token_set",
+ "slack_app_credentials",
+ "aws_credentials",
+ "github_app_credentials"
+ ],
+ "type": "string"
+ },
+ "SecretOwner": {
+ "discriminator": {
+ "mapping": {
+ "org": "#/$defs/OrgSecretOwner",
+ "project": "#/$defs/ProjectSecretOwner",
+ "user": "#/$defs/UserSecretOwner"
+ },
+ "propertyName": "kind"
+ },
+ "oneOf": [
+ {
+ "$ref": "#/$defs/OrgSecretOwner"
+ },
+ {
+ "$ref": "#/$defs/ProjectSecretOwner"
+ },
+ {
+ "$ref": "#/$defs/UserSecretOwner"
+ }
+ ]
+ },
+ "Timestamp": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "UserID": {
+ "pattern": "^usr_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "UserSecretOwner": {
+ "properties": {
+ "kind": {
+ "description": "user: a user owns the secret.",
+ "enum": [
+ "user"
+ ],
+ "type": "string"
+ },
+ "user_id": {
+ "$ref": "#/$defs/UserID",
+ "description": "User who owns the secret."
+ }
+ },
+ "required": [
+ "kind",
+ "user_id"
+ ],
+ "type": "object"
+ }
+ },
+ "properties": {
+ "created_at": {
+ "$ref": "#/$defs/Timestamp",
+ "description": "When the secret was created."
+ },
+ "current_version_number": {
+ "description": "Version of the value currently in use; each rotation increments it.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "id": {
+ "$ref": "#/$defs/SecretID",
+ "description": "Identifies the secret; other resources reference it by this ID instead of storing the value."
+ },
+ "kind": {
+ "$ref": "#/$defs/SecretKind",
+ "description": "What type of credential the secret holds, which determines its payload fields."
+ },
+ "management_kind": {
+ "$ref": "#/$defs/ManagementKind",
+ "description": "Whether the organization manages this secret or the Omnara installation provisions and manages it."
+ },
+ "metadata": {
+ "$ref": "#/$defs/Metadata",
+ "description": "Caller-supplied key-value labels on the secret."
+ },
+ "name": {
+ "$ref": "#/$defs/ResourceName",
+ "description": "Display name of the secret."
+ },
+ "org_id": {
+ "$ref": "#/$defs/OrganizationID",
+ "description": "Organization the secret belongs to."
+ },
+ "owner": {
+ "$ref": "#/$defs/SecretOwner",
+ "description": "Who owns the secret; a project can use it without a grant only if the project owns it."
+ },
+ "payload_keys": {
+ "description": "Names of the fields stored in the current value, such as value or access_token; values are never returned.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "updated_at": {
+ "$ref": "#/$defs/Timestamp",
+ "description": "When the secret's name, metadata, or current version last changed."
+ }
+ },
+ "required": [
+ "id",
+ "org_id",
+ "management_kind",
+ "owner",
+ "name",
+ "kind",
+ "metadata",
+ "current_version_number",
+ "payload_keys",
+ "created_at",
+ "updated_at"
+ ],
+ "type": "object"
+}