-
Notifications
You must be signed in to change notification settings - Fork 13
/
model_secret.go
29 lines (28 loc) · 1.04 KB
/
model_secret.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* CD NextGen API Reference
*
* This is the Open Api Spec 3 for the NextGen Manager. This is under active development. Beware of the breaking change with respect to the generated code stub # Authentication <!-- ReDoc-Inject: <security-definitions> -->
*
* API version: 3.0
* Contact: contact@harness.io
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package nextgen
// This is details of the secret entity defined in Harness.
type Secret struct {
// This specifies the type of secret
Type_ string `json:"type"`
// Name of the Secret
Name string `json:"name"`
// Identifier of the Secret
Identifier string `json:"identifier"`
// Organization Identifier for the Entity
OrgIdentifier string `json:"orgIdentifier,omitempty"`
// Project Identifier for the Entity
ProjectIdentifier string `json:"projectIdentifier,omitempty"`
// Tags
Tags map[string]string `json:"tags,omitempty"`
// Description of the Secret
Description string `json:"description,omitempty"`
Spec *SecretSpec `json:"spec"`
}