# flyteplugins.union.remote

Union remote control plane objects.

This module provides remote object classes for Union-specific control plane
entities, following the same pattern as flyte.remote objects.

Example:
    from flyteplugins.union.remote import ApiKey

    # List all API keys
    keys = ApiKey.listall()
    for key in keys:
        print(key.client_id)

    # Create a new API key
    api_key = ApiKey.create(name="my-ci-key")
    print(api_key.client_secret)

    # Get a specific API key
    key = ApiKey.get(client_id="my-client-id")

    # Delete an API key
    ApiKey.delete(client_id="my-client-id")
## Directory

### Classes

| Class | Description |
|-|-|
| [`ApiKey`](https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/apikey/page.md) | Represents a Union API Key (OAuth Application). |
| [`Assignment`](https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/assignment/page.md) | Represents role/policy assignments for an identity. |
| [`Cluster`](https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/cluster/page.md) | Represents a Union cluster. |
| [`Member`](https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/member/page.md) | Represents a Union organization member (user or application). |
| [`Policy`](https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/policy/page.md) | Represents a Union RBAC Policy. |
| [`Role`](https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/role/page.md) | Represents a Union RBAC Role. |
| [`User`](https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/user/page.md) | Represents a Union user. |

## Subpages

- [ApiKey](https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/apikey/page.md)
  - Parameters
  - Properties
  - Methods
  - create()
  - delete()
  - get()
  - listall()
  - to_dict()
  - to_json()
  - update()
- [Assignment](https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/assignment/page.md)
  - Parameters
  - Properties
  - Methods
  - create()
  - get()
  - listall()
  - to_dict()
  - to_json()
  - unassign()
- [Cluster](https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/cluster/page.md)
  - Parameters
  - Properties
  - Methods
  - get()
  - listall()
  - to_dict()
  - to_json()
- [Member](https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/member/page.md)
  - Parameters
  - Properties
  - Methods
  - listall()
  - to_dict()
  - to_json()
- [Policy](https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/policy/page.md)
  - Parameters
  - Properties
  - Methods
  - create()
  - delete()
  - get()
  - listall()
  - to_dict()
  - to_json()
  - update()
- [Role](https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/role/page.md)
  - Parameters
  - Properties
  - Methods
  - create()
  - delete()
  - get()
  - listall()
  - to_dict()
  - to_json()
  - update()
- [User](https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/user/page.md)
  - Parameters
  - Properties
  - Methods
  - create()
  - delete()
  - get()
  - listall()
  - to_dict()
  - to_json()

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/api-reference/integrations/union/packages/flyteplugins.union.remote/_index.md
**HTML**: https://www.union.ai/docs/v2/flyte/api-reference/integrations/union/packages/flyteplugins.union.remote/
