docs: func NewCredentials(p *plugin.Plugin) (*credentials.Credentials, error) {
  	retrieve, isExpired, err := GetPluginProviderFns(p)
  	if err != nil {
  		return nil, err
  	}
  
  	return credentials.NewCredentials(Provider{
  		RetrieveFn:  retrieve,
  		IsExpiredFn: isExpired,
  	}), nil
  }