github.com/IBM-Cloud/bluemix-go@v0.0.0-20241117121028-a3be206688b3/models/resource_service_key.go (about)

     1  package models
     2  
     3  import "github.com/IBM-Cloud/bluemix-go/crn"
     4  
     5  type ServiceKey struct {
     6  	MetadataType
     7  	Name       string                 `json:"name"`
     8  	SourceCrn  crn.CRN                `json:"source_crn"`
     9  	Parameters map[string]interface{} `json:"parameters,omitempty"`
    10  	Crn        crn.CRN                `json:"crn"`
    11  	State      string                 `json:"state"`
    12  	AccountID  string                 `json:"account_id"`
    13  	// ### Modification Added OnetimeCredentials parameter
    14  	OnetimeCredentials bool                   `json:"onetime_credentials"`
    15  	Credentials        map[string]interface{} `json:"credentials"`
    16  }