async getSecret()

in src/lib/service/custos-service/custos-service-entities/custos-service-entities-secrets-ssh.js [33:46]


    async getSecret({clientId, entityId}) {
        const axiosInstance = await this.custosService.axiosInstance;
        const {data} = await axiosInstance.get(
            `${CustosService.ENDPOINTS.SECRETS}/secret/ssh`,
            {
                params: {
                    "client_id": clientId,
                    "token": entityId
                }
            }
        );

        return data;
    }