# `@subkey` annotation

The `@subkey` annotation is a planned feature and not yet available in TypeDB. Coming soon!

The `@subkey` annotation is used to specify composite keys built from multiple attributes.

[@key](../key/index.md) [@unique](../unique/index.md)

[Edit on GitHub](https://github.com/typedb/typedb-docs/edit/3.x-development/typeql-reference/modules/ROOT/pages/annotations/subkey.adoc) Edit this page on GitHub.