import osfrom miru_platform_sdk import Miruclient = Miru( api_key=os.environ.get("MIRU_API_KEY"), # This is the default and can be omitted)principal = client.principal.self()print(principal.id)
Copy
{ "object": "principal", "id": "api_key_123", "name": "My CI/CD Key"}
import osfrom miru_platform_sdk import Miruclient = Miru( api_key=os.environ.get("MIRU_API_KEY"), # This is the default and can be omitted)principal = client.principal.self()print(principal.id)
Copy
{ "object": "principal", "id": "api_key_123", "name": "My CI/CD Key"}
Assistant
Responses are generated using AI and may contain mistakes.