// This file is part of MinIO Kubernetes Cloud // Copyright (c) 2021 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . package subnet var ( OfflinePublicKeys = []string{ `-----BEGIN PUBLIC KEY----- MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEaK31xujr6/rZ7ZfXZh3SlwovjC+X8wGq qkltaKyTLRENd4w3IRktYYCRgzpDLPn/nrf7snV/ERO5qcI7fkEES34IVEr+2Uff JkO2PfyyAYEO/5dBlPh1Undu9WQl6J7B -----END PUBLIC KEY-----`, // https://subnet.min.io/downloads/license-pubkey.pem } ) const ( // Constants for subnet configuration ConsoleSubnetURL = "CONSOLE_SUBNET_URL" // Subnet endpoints publicKey = "/downloads/license-pubkey.pem" loginEndpoint = "/api/auth/login" refreshLicenseKeyEndpoint = "/api/auth/subscription/renew-license" licenseKeyEndpoint = "/api/auth/subscription/license-key" )