{
"operation-name" : "set-password",
"description" : "Add a password to an existing identity.",
"request-properties" : {
"identity" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of the identity.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"bcrypt" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "A password using the Bcrypt algorithm.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"algorithm" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The algorithm used to encrypt the password.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"default" : "bcrypt",
"allowed" : ["bcrypt"],
"stability" : "default"
},
"password" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The actual password to set.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"salt" : {
"type" : {
"TYPE_MODEL_VALUE" : "BYTES"
},
"description" : "The salt to apply to the password.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 0,
"max-length" : 2147483647,
"stability" : "default"
},
"iteration-count" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The iteration count or cost to apply to the password.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"stability" : "default"
}
}
},
"clear" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "A password in clear text.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {"password" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The actual password to set.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
}}
},
"simple-digest" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "A simple digest password.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"algorithm" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The algorithm used to encrypt the password.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"default" : "simple-digest-sha-512",
"allowed" : [
"simple-digest-md2",
"simple-digest-md5",
"simple-digest-sha-1",
"simple-digest-sha-256",
"simple-digest-sha-384",
"simple-digest-sha-512"
],
"stability" : "default"
},
"password" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The actual password to set.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
}
}
},
"salted-simple-digest" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "A salted simple digest password.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"algorithm" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The algorithm used to encrypt the password.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"default" : "password-salt-digest-sha-512",
"allowed" : [
"password-salt-digest-md5",
"password-salt-digest-sha-1",
"password-salt-digest-sha-256",
"password-salt-digest-sha-384",
"password-salt-digest-sha-512",
"salt-password-digest-md5",
"salt-password-digest-sha-1",
"salt-password-digest-sha-256",
"salt-password-digest-sha-384",
"salt-password-digest-sha-512"
],
"stability" : "default"
},
"password" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The actual password to set.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"salt" : {
"type" : {
"TYPE_MODEL_VALUE" : "BYTES"
},
"description" : "The salt to apply to the password.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 0,
"max-length" : 2147483647,
"stability" : "default"
}
}
},
"scram-digest" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "A password using the SCRAM digest algorithm.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"algorithm" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The algorithm used to encrypt the password.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"default" : "scram-sha-512",
"allowed" : [
"scram-sha-1",
"scram-sha-256",
"scram-sha-384",
"scram-sha-512"
],
"stability" : "default"
},
"password" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The actual password to set.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"salt" : {
"type" : {
"TYPE_MODEL_VALUE" : "BYTES"
},
"description" : "The salt to apply to the password.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 0,
"max-length" : 2147483647,
"stability" : "default"
},
"iteration-count" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The iteration count or cost to apply to the password.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"stability" : "default"
}
}
},
"digest" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "A digest password.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"algorithm" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The algorithm used to encrypt the password.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"default" : "digest-sha-512",
"allowed" : [
"digest-md5",
"digest-sha",
"digest-sha-256",
"digest-sha-384",
"digest-sha-512"
],
"stability" : "default"
},
"password" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The actual password to set.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"realm" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The realm.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
}
}
},
"otp" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "A one-time password, used by the OTP SASL mechanism.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"algorithm" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The algorithm used to encrypt the password.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"default" : "otp-sha1",
"allowed" : [
"otp-md5",
"otp-sha1",
"otp-sha256",
"otp-sha384",
"otp-sha512"
],
"stability" : "default"
},
"password" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The actual password to set.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"seed" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The seed used to generate the hash.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"sequence" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The sequence number used to generate the hash.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"stability" : "default"
}
}
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : true
}