sedai.credentials

class SedaiCredentials:
credentialsProvider
def to_dict(self):
class AWSCredentials(SedaiCredentials):
class AwsKeyCredentials(AWSCredentials):

AWS Access Key and Secret Key based credentials

AwsKeyCredentials(access_key_id, secret_access_key)
Parameters
  • access_key_id: The AWS access key id
  • secret_access_key: The AWS secret access key
accessKeyId
secretAccessKey
credentialsProvider
Inherited Members
SedaiCredentials
to_dict
class AwsRoleCredentials(AWSCredentials):

AWS Role based credentials

AwsRoleCredentials(role_arn, external_id=None)
Parameters
  • role_arn: The AWS role arn
  • external_id: An optional external id to use with the role
role
externalId
credentialsProvider
Inherited Members
SedaiCredentials
to_dict
class AzureClientCredentials(SedaiCredentials):

Azure Client ID and Client Secret based credentials

AzureClientCredentials(client_id, client_secret)
Parameters
  • client_id: The Azure client id
  • client_secret: The Azure client secret
clientId
clientSecret
credentialsProvider
Inherited Members
SedaiCredentials
to_dict
class FederatedPrometheusCredentials(SedaiCredentials):
class FederatedPrometheusNoAuth(FederatedPrometheusCredentials):

Prometheus federated without authentication This is a placheolder object, with no actual credentials

credentialsProvider
Inherited Members
SedaiCredentials
to_dict
class FederatedPrometheusJWT(FederatedPrometheusCredentials):

Prometheus federated with JWT authentication

FederatedPrometheusJWT(bearer_token)
Parameters
  • bearer_token: The JWT token to use for authentication
bearerToken
credentialsProvider
Inherited Members
SedaiCredentials
to_dict
class FederatedPrometheusClientCredentials(FederatedPrometheusCredentials):

Prometheus federated with client credentials

FederatedPrometheusClientCredentials(token_endpoint, client_id, client_secret)
Parameters
  • token_endpoint: The token endpoint to use for authentication
  • client_id: The client id to use for authentication
  • client_secret: The client secret to use for authentication
tokenEndpoint
clientId
clientSecret
credentialsProvider
Inherited Members
SedaiCredentials
to_dict
class DatadogCredentials(SedaiCredentials):

Datadog API Key based credentials

DatadogCredentials(application_key, api_key)
Parameters
  • application_key: The Datadog application key
  • api_key: The Datadog API key
applicationKey
apiKey
credentialsProvider
Inherited Members
SedaiCredentials
to_dict
class GCPServiceAccountJsonCredentials(SedaiCredentials):

GCP Service Account JSON based credentials

GCPServiceAccountJsonCredentials(service_account_json)
Parameters
  • service_account_json: The GCP service account JSON
serviceAccountJson
credentialsProvider
Inherited Members
SedaiCredentials
to_dict
class GKEMonitoringCredentials(SedaiCredentials):

GKE Monitoring credentials

GKEMonitoringCredentials(service_account_json=None)
Parameters
  • service_account_json: The GCP service account JSON
keyFile
credentialsProvider
Inherited Members
SedaiCredentials
to_dict
class KubernetesCredentials(SedaiCredentials):
credentialsProvider
Inherited Members
SedaiCredentials
to_dict
class TokenCredentials(SedaiCredentials):

Token based credentials

TokenCredentials(token)
token
credentialsProvider
Inherited Members
SedaiCredentials
to_dict