{
    "$id": "http://redfish.dmtf.org/schemas/v1/Key.json",
    "$ref": "#/definitions/Key",
    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
    "copyright": "Copyright 2014-2025 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
    "definitions": {
        "ECDSACurveType": {
            "enum": [
                "NISTP256",
                "NISTP384",
                "NISTP521",
                "NISTK163",
                "NISTP192",
                "NISTP224",
                "NISTK233",
                "NISTB233",
                "NISTK283",
                "NISTK409",
                "NISTB409",
                "NISTT571"
            ],
            "enumDescriptions": {
                "NISTB233": "NIST B-233.",
                "NISTB409": "NIST B-409.",
                "NISTK163": "NIST K-163.",
                "NISTK233": "NIST K-233.",
                "NISTK283": "NIST K-283.",
                "NISTK409": "NIST K-409.",
                "NISTP192": "NIST P-192.",
                "NISTP224": "NIST P-224.",
                "NISTP256": "NIST P-256.",
                "NISTP384": "NIST P-384.",
                "NISTP521": "NIST P-521.",
                "NISTT571": "NIST T-571."
            },
            "enumLongDescriptions": {
                "NISTB233": "This value shall indicate the 'nistb233' curve in RFC5656.",
                "NISTB409": "This value shall indicate the 'nistb409' curve in RFC5656.",
                "NISTK163": "This value shall indicate the 'nistk163' curve in RFC5656.",
                "NISTK233": "This value shall indicate the 'nistk233' curve in RFC5656.",
                "NISTK283": "This value shall indicate the 'nistk283' curve in RFC5656.",
                "NISTK409": "This value shall indicate the 'nistk409' curve in RFC5656.",
                "NISTP192": "This value shall indicate the 'nistp192' curve in RFC5656.",
                "NISTP224": "This value shall indicate the 'nistp224' curve in RFC5656.",
                "NISTP256": "This value shall indicate the 'nistp256' curve in RFC5656.",
                "NISTP384": "This value shall indicate the 'nistp384' curve in RFC5656.",
                "NISTP521": "This value shall indicate the 'nistp521' curve in RFC5656.",
                "NISTT571": "This value shall indicate the 'nistt571' curve in RFC5656."
            },
            "type": "string",
            "versionAdded": "v1_4_0"
        },
        "Key": {
            "anyOf": [
                {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Key.v1_0_1.json#/definitions/Key"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Key.v1_1_1.json#/definitions/Key"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Key.v1_2_1.json#/definitions/Key"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Key.v1_3_1.json#/definitions/Key"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Key.v1_4_1.json#/definitions/Key"
                }
            ],
            "deletable": true,
            "description": "The `Key` schema describes sensitive data for accessing devices or services.",
            "insertable": false,
            "longDescription": "This resource shall represent a key for a Redfish implementation.",
            "updatable": true,
            "uris": [
                "/redfish/v1/KeyService/NVMeoFSecrets/{KeyId}",
                "/redfish/v1/UpdateService/RemoteServerSSHKeys/{KeyId}",
                "/redfish/v1/UpdateService/PublicIdentitySSHKey/{KeyId}",
                "/redfish/v1/AccountService/Accounts/{ManagerAccountId}/Keys/{KeyId}",
                "/redfish/v1/Managers/{ManagerId}/RemoteAccountService/Accounts/{ManagerAccountId}/Keys/{KeyId}",
                "/redfish/v1/AggregationService/AggregationSources/{AggregationSourceId}/TrustedPublicHostKeys/{KeyId}",
                "/redfish/v1/AggregationService/AggregationSources/{AggregationSourceId}/PresentedPublicHostKey",
                "/redfish/v1/AggregationService/AggregationSources/{AggregationSourceId}/PublicIdentityKey"
            ]
        },
        "SSHKeyType": {
            "enum": [
                "RSA",
                "DSA",
                "ECDSA",
                "Ed25519"
            ],
            "enumDescriptions": {
                "DSA": "DSA.",
                "ECDSA": "ECDSA.",
                "Ed25519": "Ed25519.",
                "RSA": "RSA."
            },
            "enumLongDescriptions": {
                "DSA": "This value shall indicate an RFC4253-defined 'ssh-dss' key type.",
                "ECDSA": "This value shall indicate an RFC5656-defined ECDSA key type.",
                "Ed25519": "This value shall indicate an RFC8709-defined 'ssh-ed25519' key type.",
                "RSA": "This value shall indicate an RFC4253-defined 'ssh-rsa' key type."
            },
            "type": "string",
            "versionAdded": "v1_4_0"
        }
    },
    "language": "en",
    "owningEntity": "DMTF",
    "title": "#Key.Key"
}