Export identities
Ory Identities allows you to export identities including their hashed credentials using the include_credential attribute on the
getIdentity method:
package pkg
import (
	ory "github.com/ory/client-go"
)
func main() {
  conf := ory.NewConfiguration()
  conf.Servers = ory.ServerConfigurations{{URL: "https://{your-slug}.projects.oryapis.com"}}
  identity, res, err := client.IdentityApi.GetIdentity(ctx, created.Id).IncludeCredential([]string{"password"}).Execute()
  // ...
}