/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * A secret is a named credential that workflows can reference, for example * an auth token for an outgoing webhook. * * Its value can be set and rotated but never read back: the API stores it * encrypted and only ever returns masked metadata (the last four characters of * the current value). Update the value with the rotate action, which appends a * new version and retires the previous one. * @export * @interface SecretV2 */ export interface SecretV2 { /** * */ created_at: Date; /** * Optional description of what this secret is for */ description?: string; /** * Unique identifier for this secret */ id: string; /** * The last four characters of the current value, for masked display. Absent when the value is four characters or shorter. */ last_four_chars?: string; /** * Human-readable name, unique within the organisation amongst unarchived secrets */ name: string; /** * IDs of the teams that own this secret. Empty means the secret is owned by the whole organisation. */ owning_team_ids: Array; /** * */ updated_at: Date; /** * The current version number, incremented on each rotation */ version: number; } /** * Check if a given object implements the SecretV2 interface. */ export declare function instanceOfSecretV2(value: object): value is SecretV2; export declare function SecretV2FromJSON(json: any): SecretV2; export declare function SecretV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): SecretV2; export declare function SecretV2ToJSON(json: any): SecretV2; export declare function SecretV2ToJSONTyped(value?: SecretV2 | null, ignoreDiscriminator?: boolean): any;