diff --git a/README.md b/README.md index 8146625a9603aad772d23b8cd02d4254e9aa43b7..106abe188d6f815430bb570b5094d104e813018f 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ If you're interesting in integration with Rekor, we have an [OpenAPI swagger edi ## Public Instance -A public instance of rekor can be found at [api.sigstore.dev](https://api.sigstore.dev/api/v1/log/) +A public instance of rekor can be found at [rekor.sigstore.dev](https://rekor.sigstore.dev/api/v1/log/) **IMPORTANT**: This instance is currently operated on a best-effort basis. We **will take the log down** and reset it with zero notice. diff --git a/cmd/rekor-cli/app/root.go b/cmd/rekor-cli/app/root.go index 5fa41f072fbe1e667449d0e1b5c76795bae28140..e6fa4eb6c1143deecd33f106ba530cfdadcde503 100644 --- a/cmd/rekor-cli/app/root.go +++ b/cmd/rekor-cli/app/root.go @@ -55,10 +55,10 @@ func init() { rootCmd.PersistentFlags().String("config", "", "config file (default is $HOME/.rekor.yaml)") rootCmd.PersistentFlags().Bool("store_tree_state", true, "whether to store tree state in between invocations for additional verification") - rootCmd.PersistentFlags().Var(&urlFlag{url: "https://api.rekor.dev"}, "rekor_server", "Server address:port") + rootCmd.PersistentFlags().Var(&urlFlag{url: "https://rekor.sigstore.dev"}, "rekor_server", "Server address:port") rootCmd.PersistentFlags().Var(&formatFlag{format: "default"}, "format", "Command output format") - rootCmd.PersistentFlags().String("api-key", "", "API key for api.rekor.dev") + rootCmd.PersistentFlags().String("api-key", "", "API key for rekor.sigstore.dev") // these are bound here and not in PreRun so that all child commands can use them if err := viper.BindPFlags(rootCmd.PersistentFlags()); err != nil { diff --git a/openapi.yaml b/openapi.yaml index 561167d160fe65a6ffeef8db7ba61b7e1e8e6afa..e88ca6384fe80364ebc3ecef9934af58dd118d67 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -19,7 +19,7 @@ info: description: Rekor is a cryptographically secure, immutable transparency log for signed software releases. version: 0.0.1 -host: api.rekor.dev +host: rekor.sigstore.dev schemes: - http diff --git a/pkg/generated/client/rekor_client.go b/pkg/generated/client/rekor_client.go index 6712916efe65af3a3222dce62dcfecc098780840..bee3811184a9921c2a53b918deb9cfffb7848f94 100644 --- a/pkg/generated/client/rekor_client.go +++ b/pkg/generated/client/rekor_client.go @@ -38,7 +38,7 @@ var Default = NewHTTPClient(nil) const ( // DefaultHost is the default Host // found in Meta (info) section of spec file - DefaultHost string = "api.rekor.dev" + DefaultHost string = "rekor.sigstore.dev" // DefaultBasePath is the default BasePath // found in Meta (info) section of spec file DefaultBasePath string = "/" diff --git a/pkg/generated/restapi/doc.go b/pkg/generated/restapi/doc.go index 526232a1f7dc2d3e6f18481ba10e4fefba618dec..b2462c63751af6821f9ff0c908696bbcd2d391c9 100644 --- a/pkg/generated/restapi/doc.go +++ b/pkg/generated/restapi/doc.go @@ -20,7 +20,7 @@ // Rekor is a cryptographically secure, immutable transparency log for signed software releases. // Schemes: // http -// Host: api.rekor.dev +// Host: rekor.sigstore.dev // BasePath: / // Version: 0.0.1 // diff --git a/pkg/generated/restapi/embedded_spec.go b/pkg/generated/restapi/embedded_spec.go index d9843d86708fe04b74508f62259144e747305d95..98c5fd5c6e5c8a448125d0084f79d9e4f67e683f 100644 --- a/pkg/generated/restapi/embedded_spec.go +++ b/pkg/generated/restapi/embedded_spec.go @@ -51,7 +51,7 @@ func init() { "title": "Rekor", "version": "0.0.1" }, - "host": "api.rekor.dev", + "host": "rekor.sigstore.dev", "paths": { "/api/v1/index/retrieve": { "post": { @@ -687,7 +687,7 @@ func init() { "title": "Rekor", "version": "0.0.1" }, - "host": "api.rekor.dev", + "host": "rekor.sigstore.dev", "paths": { "/api/v1/index/retrieve": { "post": {