# `Stripe.Services.EphemeralKeyService`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/services/ephemeral_key_service.ex#L2)

EphemeralKey

# `create`

```elixir
@spec create(Stripe.Client.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

Create an ephemeral key

Creates a short-lived API key for a given resource.

# `delete`

```elixir
@spec delete(Stripe.Client.t(), String.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

Immediately invalidate an ephemeral key

Invalidates a short-lived API key for a given resource.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
