Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.06 KB

Mock.md

File metadata and controls

35 lines (28 loc) · 1.06 KB

Mock

Important

This credential type is designed to be solely used when testing SACRED.

The following JSON job definition snippet does not rotate anything; it simply passes through whatver its input is as the generated credential info.

{
    "mock": {
        "CREDENTIAL INFO KEY 1": "CREDENTIAL INFO VALUE 1",
        "CREDENTIAL INFO KEY 2": "CREDENTIAL INFO VALUE 2",
        ...
    },
    "rotationSchedule": "...",
    "update": {
        ...
    }
}

Outputs

When a rotation job occurs it produces a map containing useful information that can be assigned to various destinations. This rotation type simply creates this map as a copy of the inputs it receives.