feat(target): Decode based on credential type

This commit is contained in:
Louis Ruch committed 2022-01-10 09:57:27 -08:00
1 parent 591ec476e7
commit a90f1f4eb1
9 files changed
+736 -298

No files matched your search

+10
View File
@@ -4955,6 +4955,11 @@
"type": "string",
"description": "Output only. The type of the credential source (e.g. \"vault\"; not the type of the credential itself).",
"readOnly": true
},
"credential_type": {
"type": "string",
"description": "Output only. The type of the credential, empty if unspecified.",
"readOnly": true
}
}
},
@@ -5070,6 +5075,11 @@
"$ref": "#/definitions/controller.api.resources.targets.v1.SessionSecret",
"description": "Output only. The secret of this credential base64 encoded.",
"readOnly": true
},
"credential": {
"type": "object",
"description": "Output only. The fields of the strongly typed credential, empty if the credential type of the \ncredential source is unspecified.",
"readOnly": true
}
},
"description": "Credential information for a session."