func ParseCredentialCollection(data []byte) (*CredentialCollection, error) {
	collection := CredentialCollection{}
	err := yaml.Unmarshal(data, &collection)
	if err != nil {
		return nil, errors.Annotate(err, "cannot unmarshal yaml credentials")
	}
	return &collection, nil
}
// ParseCredentialCollection parses YAML bytes for the credential
ParseCredentialCollection parses YAML bytes for the credential
// ParseCredentialCollection parses YAML bytes for the credential
func ParseCredentialCollection(data []byte) (*CredentialCollection, error) {
	collection := CredentialCollection{}
	err := yaml.Unmarshal(data, &collection)
	if err != nil {
		return nil, errors.Annotate(err, "cannot unmarshal yaml credentials")
	}
	return &collection, nil
}
func ParseCredentialCollection ( data [ ] byte ) ( * CredentialCollection , error ) { collection := CredentialCollection { } err := yaml . Unmarshal ( data , & collection ) if err != nil { return nil , errors . Annotate ( err , " " ) } return & collection , nil }
ParseCredentialCollection parses YAML bytes for the credential
ParseCredentialCollection parses YAML bytes for the credential