code: func (c *CredentialsClient) Create(ctx context.Context, creds []*apitypes.CredentialEnvelope,
  	progress ProgressFunc) ([]apitypes.CredentialEnvelope, error) {
  
  	resp := []apitypes.CredentialResp{}
  	err := c.client.DaemonRoundTrip(ctx, "POST", "/credentials", nil, creds, &resp, progress)
  	if err != nil {
  		return nil, err
  	}
  
  	return createEnvelopesFromResp(resp)
  }
docs: // Create creates the given credential